effect-handlers 0.1.0.0 → 0.1.0.1
raw patch · 1 files changed
+9/−9 lines, 1 filesdep ~criteriondep ~freedep ~hspecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: criterion, free, hspec, kan-extensions
API changes (from Hackage documentation)
Files
- effect-handlers.cabal +9/−9
effect-handlers.cabal view
@@ -1,5 +1,5 @@ name: effect-handlers-version: 0.1.0.0+version: 0.1.0.1 synopsis: A library for writing extensible algebraic effects and handlers. Similar to extensible-effects but with deep handlers. homepage: https://github.com/edofic/effect-handlers bug-reports: https://github.com/edofic/effect-handlers/issues@@ -29,10 +29,10 @@ import Control.Effects.Cont.Exception . program = do- v <- ask- if v < 15 - then throw $ show v- else return (v+1)+   v <- ask+   if v < 15 +   then throw $ show v+   else return (v+1) . run n = runPure . handle exceptionHandler . handle (readerHandler n) .@@ -54,9 +54,9 @@ -- other-extensions: build-depends: base >=4.7 && <4.8- , free >=4.9 && <4.10+ , free >=4.9 && <4.11 , mtl >=2.1 && <2.3- , kan-extensions >=4.1 && <4.2+ , kan-extensions >=4.1 && <4.3 hs-source-dirs: src default-language: Haskell2010 default-extensions: RankNTypes@@ -81,7 +81,7 @@ build-depends: base >=4.7 && <4.8 , effect-handlers- , hspec >= 1.12 && <1.13+ , hspec >= 2.1 && <2.2 , QuickCheck , HUnit , hspec-discover@@ -101,7 +101,7 @@ hs-source-dirs: bench, test main-is: TestBench.hs build-depends: base >=4.7 && <4.8, effect-handlers- build-depends: criterion+ build-depends: criterion >= 1.0 && <1.1 ghc-options: -O3 default-extensions: DataKinds , FlexibleContexts