transformers 0.5.6.0 → 0.5.6.1
raw patch · 3 files changed
+6/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Control/Monad/Trans/List.hs +2/−2
- changelog +3/−0
- transformers.cabal +1/−1
Control/Monad/Trans/List.hs view
@@ -145,8 +145,8 @@ instance (MonadFix m) => MonadFix (ListT m) where mfix f = ListT $ mfix (runListT . f . head) >>= \ xs -> case xs of- [] -> pure []- x:_ -> (x:) <$> (runListT . mfix) ((mapListT . fmap) tail . f)+ [] -> return []+ x:_ -> liftM (x:) (runListT (mfix (mapListT (fmap tail) . f))) {-# INLINE mfix #-} instance MonadTrans ListT where
changelog view
@@ -1,5 +1,8 @@ -*-change-log-*- +0.5.6.1 Ross Paterson <R.Paterson@city.ac.uk> Feb 2019+ * Backward compatability fix for MonadFix ListT instance+ 0.5.6.0 Ross Paterson <R.Paterson@city.ac.uk> Feb 2019 * Generalized type of except * Added Control.Monad.Trans.Writer.CPS and Control.Monad.Trans.RWS.CPS
transformers.cabal view
@@ -1,5 +1,5 @@ name: transformers-version: 0.5.6.0+version: 0.5.6.1 license: BSD3 license-file: LICENSE author: Andy Gill, Ross Paterson