diff options
author | 2013-09-25 03:09:06 -0400 | |
---|---|---|
committer | 2013-09-25 03:09:06 -0400 | |
commit | d9c5d32c34885cac67c44c633c5351461902d166 (patch) | |
tree | 2628093b15b5564a33364cf67d54d87ef0f2474e /Annex/Exception.hs | |
parent | 2270913743982ab33c68d17c8ed68326e1711f95 (diff) |
hlint
test suite still passes
Diffstat (limited to 'Annex/Exception.hs')
-rw-r--r-- | Annex/Exception.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Exception.hs b/Annex/Exception.hs index 99466a851..040229d65 100644 --- a/Annex/Exception.hs +++ b/Annex/Exception.hs @@ -24,7 +24,7 @@ import Common.Annex {- Runs an Annex action, with setup and cleanup both in the IO monad. -} bracketIO :: IO v -> (v -> IO b) -> (v -> Annex a) -> Annex a -bracketIO setup cleanup go = M.bracket (liftIO setup) (liftIO . cleanup) go +bracketIO setup cleanup = M.bracket (liftIO setup) (liftIO . cleanup) {- try in the Annex monad -} tryAnnex :: Annex a -> Annex (Either SomeException a) |