summaryrefslogtreecommitdiff
path: root/Presence/ControlMaybe.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-07-08 09:47:25 -0400
committerjoe <joe@jerkface.net>2013-07-08 09:47:25 -0400
commitd163ee7393bcfcc2503698ea58db646546cfb55f (patch)
tree5a406380dea057963a8a4aa1a69790342bedd902 /Presence/ControlMaybe.hs
parent8c3c479be72733654665664200c1f51b41f4eaac (diff)
clientRequestsSubscription work in progress...
Diffstat (limited to 'Presence/ControlMaybe.hs')
-rw-r--r--Presence/ControlMaybe.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Presence/ControlMaybe.hs b/Presence/ControlMaybe.hs
index 37f6f93c..69a38f71 100644
--- a/Presence/ControlMaybe.hs
+++ b/Presence/ControlMaybe.hs
@@ -15,5 +15,9 @@ whenJust acn f = do
15catchIO_ :: IO a -> IO a -> IO a 15catchIO_ :: IO a -> IO a -> IO a
16catchIO_ a h = Exception.catch a (\(_ :: IOException) -> h) 16catchIO_ a h = Exception.catch a (\(_ :: IOException) -> h)
17 17
18catchIO :: IO a -> (IOException -> IO a) -> IO a
19catchIO body handler = Exception.catch body handler
20
18handleIO_ = flip catchIO_ 21handleIO_ = flip catchIO_
22handleIO = flip catchIO
19 23