hreader 1.1.0 → 1.1.1
raw patch · 3 files changed
+12/−3 lines, 3 filesdep ~exceptionsdep ~monad-controlPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: exceptions, monad-control
API changes (from Hackage documentation)
+ Control.Monad.HReader.Class: type MHRElements m :: [*];
- Control.Monad.HReader.Class: class (Monad m, Applicative m) => MonadHReader m where type MHRElements m :: [*] where {
+ Control.Monad.HReader.Class: class (Monad m, Applicative m) => MonadHReader m where {
- Control.Monad.HReader.Class: type family MHRElements m :: [*];
+ Control.Monad.HReader.Class: type family MHRElemsConstraint (m :: * -> *) (els :: [*]) :: Constraint
Files
- CHANGELOG.md +5/−0
- hreader.cabal +3/−3
- src/Control/Monad/HReader/Class.hs +4/−0
CHANGELOG.md view
@@ -1,5 +1,10 @@ # CHANGELOG +## 1.1.1+### Fixed+* Compatibility with mtl-2.3 and hence newer GHC versions+* Migrate to Github+ ## 1.1.0 ### Added * instances of `MonadHReader` for `MaybeT` and `IdentityT`
hreader.cabal view
@@ -1,5 +1,5 @@ name: hreader-version: 1.1.0+version: 1.1.1 synopsis: Generalization of MonadReader and ReaderT using hset license: BSD3 license-file: LICENSE@@ -9,10 +9,10 @@ build-type: Simple cabal-version: >=1.10 extra-source-files: CHANGELOG.md-homepage: https://bitbucket.org/s9gf4ult/hreader+homepage: https://github.com/s9gf4ult/hreader source-repository head type: git- location: git@bitbucket.org:s9gf4ult/hreader.git+ location: git@github.com:s9gf4ult/hreader.git library
src/Control/Monad/HReader/Class.hs view
@@ -7,7 +7,9 @@ import Control.Monad.Cont+#if !(MIN_VERSION_mtl(2, 3, 0)) import Control.Monad.List+#endif import Control.Monad.Reader import Control.Monad.Trans.Control import Control.Monad.Trans.Identity@@ -62,7 +64,9 @@ MHR(IdentityT m) MHR(ReaderT r m)+#if !(MIN_VERSION_mtl(2, 3, 0)) MHR(ListT m)+#endif MHR(MaybeT m) #if MIN_VERSION_mtl(2, 2, 1)