aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt
diff options
context:
space:
mode:
authordaniel <daniel@wagner-home.com>2009-11-14 03:36:16 +0100
committerdaniel <daniel@wagner-home.com>2009-11-14 03:36:16 +0100
commitaf1ff15bc43bd1ddcae94237bce560c1251a569d (patch)
tree0abfea358c31302b53d4085756a347e47609628e /XMonad/Prompt
parent9a01f2b662dc29820c80ef65a54ae2d8afa2e7ff (diff)
downloadXMonadContrib-af1ff15bc43bd1ddcae94237bce560c1251a569d.tar.gz
XMonadContrib-af1ff15bc43bd1ddcae94237bce560c1251a569d.tar.xz
XMonadContrib-af1ff15bc43bd1ddcae94237bce560c1251a569d.zip
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
Diffstat (limited to 'XMonad/Prompt')
-rw-r--r--XMonad/Prompt/Email.hs2
1 files changed, 1 insertions, 1 deletions
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 ()