From af1ff15bc43bd1ddcae94237bce560c1251a569d Mon Sep 17 00:00:00 2001 From: daniel Date: Sat, 14 Nov 2009 03:36:16 +0100 Subject: generalize IO actions to MonadIO m Ignore-this: 2c801a27b0ffee34a2f0daca3778613a This should not cause any working configs to stop working, because IO is an instance of MonadIO, and because complete configs will pin down the type of the call to IO. Note that XMonad.Config.Arossato is not a complete config, and so it needed some tweaks; with a main function, this should not be a problem. darcs-hash:20091114023616-c98ca-0a233cc53c41986845db4300530ec4f9e4d52a37.gz --- XMonad/Prompt/Email.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XMonad/Prompt') diff --git a/XMonad/Prompt/Email.hs b/XMonad/Prompt/Email.hs index 99c1e8f..a0eb72e 100644 --- a/XMonad/Prompt/Email.hs +++ b/XMonad/Prompt/Email.hs @@ -59,5 +59,5 @@ emailPrompt c addrs = inputPromptWithCompl c "To" (mkComplFunFromList addrs) ?+ \to -> inputPrompt c "Subject" ?+ \subj -> inputPrompt c "Body" ?+ \body -> - io $ runProcessWithInput "mail" ["-s", subj, to] (body ++ "\n") + runProcessWithInput "mail" ["-s", subj, to] (body ++ "\n") >> return () -- cgit v1.2.3