packages feed

freer 0.2.2.6 → 0.2.3.0

raw patch · 3 files changed

+7/−9 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,7 @@+# 0.2.3.0 (June 25, 2016)++* Add GHC 8 support+ # 0.2.2.2 (Sep. 14, 2015)  * Use local `data Nat` for `Data.Open.Union`
freer.cabal view
@@ -1,5 +1,5 @@ name:                freer-version:             0.2.2.6+version:             0.2.3.0 synopsis:            Implementation of the Freer Monad license:             BSD3 license-file:        LICENSE@@ -49,7 +49,7 @@                      , Data.FTCQueue                      , Data.Open.Union -  build-depends:       base >=4.7 && <4.9+  build-depends:       base >=4.7 && <5   hs-source-dirs:      src   ghc-options:         -Wall   default-language:    Haskell2010@@ -63,7 +63,7 @@                      , NonDetEff                      , Teletype                      , Trace-  build-depends:       base >=4.7 && <4.9+  build-depends:       base >=4.7 && <5                      , freer   hs-source-dirs:      examples/src   ghc-options:         -Wall
src/Control/Monad/Freer/Reader.hs view
@@ -82,9 +82,6 @@ > >type Bindings = Map String Int >->asks :: (b -> a) -> Eff '[Reader b] a->asks f = ask >>= return . f-> >-- Returns True if the "count" variable contains correct bindings size. >isCountCorrect :: Bindings -> Bool >isCountCorrect bindings = run $ runReader calc_isCountCorrect bindings@@ -120,9 +117,6 @@ > import Data.Maybe > > type Bindings = Map String Int->-> asks :: (b -> a) -> Eff '[Reader b] a-> asks f = ask >>= return . f > > calculateContentLen :: Eff '[Reader String] Int > calculateContentLen = do