assert 0.0.1.1 → 0.0.1.2
raw patch · 3 files changed
+10/−1 lines, 3 files
Files
- assert.cabal +1/−1
- src/Control/Exception/Assert.hs +4/−0
- tests/rewrite.hs +5/−0
assert.cabal view
@@ -1,5 +1,5 @@ name: assert-version: 0.0.1.1+version: 0.0.1.2 synopsis: Helpers for Control.Exception.assert description: GHC supports compile-time toggling of run-time assertions via the
src/Control/Exception/Assert.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# OPTIONS_GHC -fno-warn-orphans #-} @@ -7,6 +8,9 @@ ) where import Prelude+#if !MIN_VERSION_base(4,6,0)+ hiding (catch)+#endif import Control.Applicative import Control.Exception import Data.Data
tests/rewrite.hs view
@@ -1,4 +1,9 @@+{-# LANGUAGE CPP #-}+ import Prelude+#if !MIN_VERSION_base(4,6,0)+ hiding (catch)+#endif import Control.Exception (IOException, catch) import Control.Exception.Assert import Control.Monad