control-monad-exception 0.9.1 → 0.10.0
raw patch · 3 files changed
+4/−28 lines, 3 filesdep −safe-failurePVP ok
version bump matches the API change (PVP)
Dependencies removed: safe-failure
API changes (from Hackage documentation)
- Control.Monad.Exception.Instances: instance (Typeable a, Show a) => Throws (LookupFailure a) (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws Foldl1Failure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws Foldr1Failure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws FromJustFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws HeadFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws IndexFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws InitFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws LastFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws MaximumFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws MinimumFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws ReadFailure (Caught SafeException l)
- Control.Monad.Exception.Instances: instance Throws TailFailure (Caught SafeException l)
Files
- Control/Monad/Exception.hs +0/−1
- Control/Monad/Exception/Instances.hs +0/−22
- control-monad-exception.cabal +4/−5
Control/Monad/Exception.hs view
@@ -81,7 +81,6 @@ import Control.Monad.Exception.Base import Control.Monad.Exception.Catch-import Control.Monad.Exception.Instances() import Control.Failure import Control.Monad.Loc import Data.Typeable
− Control/Monad/Exception/Instances.hs
@@ -1,22 +0,0 @@-module Control.Monad.Exception.Instances where--import Control.Monad.Exception.Throws-import Data.Typeable-import Safe.Failure---- Encoding the exception hierarchy of safe-failure--instance Throws TailFailure (Caught SafeException l)-instance Throws HeadFailure (Caught SafeException l)-instance Throws InitFailure (Caught SafeException l)-instance Throws LastFailure (Caught SafeException l)-instance Throws MinimumFailure (Caught SafeException l)-instance Throws MaximumFailure (Caught SafeException l)-instance Throws Foldr1Failure (Caught SafeException l)-instance Throws Foldl1Failure (Caught SafeException l)-instance Throws FromJustFailure (Caught SafeException l)-instance Throws IndexFailure (Caught SafeException l)-instance Throws ReadFailure (Caught SafeException l)-instance (Typeable a, Show a) => Throws (LookupFailure a) (Caught SafeException l)--
control-monad-exception.cabal view
@@ -1,5 +1,5 @@ name: control-monad-exception-version: 0.9.1+version: 0.10.0 Cabal-Version: >= 1.6 build-type: Simple license: PublicDomain@@ -62,9 +62,10 @@ > main, Main(example.hs): (5,9) > main, Main(example.hs): (4,16) .- /Changes since 0.9.0/:+ /Changes/: .- * Moved to transformers (finally leaving the whole mtl-transformers cisma behind)+ * 0.9.0 - Moved to transformers (finally leaving the whole mtl-transformers cisma behind)+ * 0.10.0 - removed the dependency on safe-failure synopsis: Explicitly typed, checked exceptions with stack traces category: Control, Monads, Failure@@ -79,7 +80,6 @@ Library buildable: True build-depends: failure >= 0.1 && < 0.2- , safe-failure >= 0.5 , transformers , monadloc @@ -105,7 +105,6 @@ Control.Monad.Exception.Base Control.Monad.Exception.Catch Control.Monad.Exception.Throws- Control.Monad.Exception.Instances ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-orphans