packages feed

comonad-transformers 1.5.2 → 1.5.2.1

raw patch · 3 files changed

+9/−1 lines, 3 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Control.Comonad.Trans.Env.Strict: lowerEnvT :: EnvT e w a -> w a
+ Control.Comonad.Trans.Store.Memo: lowerStoreT :: StoreT s w a -> w a

Files

Control/Comonad/Trans/Env/Strict.hs view
@@ -23,6 +23,7 @@   -- * The strict environment comonad transformer   , EnvT(..)   , runEnvT+  , lowerEnvT   -- * Combinators   , ask   , asks@@ -102,6 +103,9 @@  instance ComonadTrans (EnvT e) where   lower (EnvT _ wa) = wa++lowerEnvT :: EnvT e w a -> w a+lowerEnvT (EnvT _ wa) = wa  instance ComonadHoist (EnvT e) where   cohoist (EnvT e wa) = EnvT e (Identity (extract wa))
Control/Comonad/Trans/Store/Memo.hs view
@@ -26,6 +26,7 @@     Store, store, runStore   -- * The Store comonad transformer   , StoreT, storeT, runStoreT+  , lowerStoreT   -- * Operations   , pos   , seek, seeks@@ -96,6 +97,9 @@  instance ComonadTrans (StoreT s) where   lower (StoreT _ _ w) = w++lowerStoreT :: StoreT s w a -> w a+lowerStoreT (StoreT _ _ w) = w  instance ComonadHoist (StoreT s) where   cohoist (StoreT f s w) = StoreT (Identity (extract f)) s (Identity (extract w))
comonad-transformers.cabal view
@@ -1,6 +1,6 @@ name:          comonad-transformers category:      Control, Comonads-version:       1.5.2+version:       1.5.2.1 license:       BSD3 cabal-version: >= 1.6 license-file:  LICENSE