for hlint.

This commit is contained in:
Kazu Yamamoto
2014-03-27 16:28:27 +09:00
parent 7ccb4ab045
commit 99aeebfb6f
2 changed files with 6 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ main = flip E.catches handlers $ do
putStr res
where
handlers = [Handler (handleThenExit handler1), Handler (handleThenExit handler2)]
handleThenExit handler = \e -> handler e >> exitFailure
handleThenExit handler e = handler e >> exitFailure
handler1 :: ErrorCall -> IO ()
handler1 = print -- for debug
handler2 :: GHCModError -> IO ()