failure 0.0.0 → 0.0.0.1
raw patch · 2 files changed
+5/−1 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Control.Failure: instance Exception NothingException
+ Control.Failure: instance Exception NullException
Files
- Control/Failure.hs +4/−0
- failure.cabal +1/−1
Control/Failure.hs view
@@ -79,6 +79,8 @@ data NothingException = NothingException deriving (Show, Typeable)+instance Exception NothingException+ instance Try Maybe where type Error Maybe = NothingException try Nothing = failure NothingException@@ -91,6 +93,8 @@ data NullException = NullException deriving (Show, Typeable)+instance Exception NullException+ instance Try [] where type Error [] = NullException try [] = failure NullException
failure.cabal view
@@ -1,5 +1,5 @@ name: failure-version: 0.0.0+version: 0.0.0.1 Cabal-Version: >= 1.6 build-type: Simple license: PublicDomain