From 8809d5c1d3e24fa99734cf4394ef39cecdf3d1da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Hahn?= Date: Tue, 21 Jul 2015 11:52:59 +0800 Subject: [PATCH] cabal: remove -Werror --- silently.cabal | 2 +- src/System/IO/Silently.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/silently.cabal b/silently.cabal index b2935b9..d35dfc0 100644 --- a/silently.cabal +++ b/silently.cabal @@ -47,7 +47,7 @@ test-suite spec-specific type: exitcode-stdio-1.0 ghc-options: - -Wall -Werror -threaded + -Wall -threaded hs-source-dirs: test build-depends: diff --git a/src/System/IO/Silently.hs b/src/System/IO/Silently.hs index c25df9c..ce3f69f 100644 --- a/src/System/IO/Silently.hs +++ b/src/System/IO/Silently.hs @@ -64,7 +64,7 @@ getTempOrCurrentDirectory :: IO String getTempOrCurrentDirectory = getTemporaryDirectory `catchIOError` (\_ -> return ".") where -- NOTE: We can not use `catchIOError` from "System.IO.Error", it is only - -- availabel in base >= 4.4. + -- available in base >= 4.4. catchIOError :: IO a -> (IOError -> IO a) -> IO a catchIOError = E.catch