packages feed

monad-extras 0.1.0.0 → 0.2.0.0

raw patch · 2 files changed

+9/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Control.Monad.Extra: io :: MonadIO m => IO a -> m a

Files

Control/Monad/Extra.hs view
@@ -2,6 +2,7 @@  import Control.Applicative import Control.Monad.Trans.Cont+import Control.Monad.IO.Class  -- | Synonym for @return ()@. skip :: Monad m => m ()@@ -45,3 +46,7 @@ --   'Control.Monad.Trans.Cont.callCC'. doCallCC :: Monad m => ((r -> ContT r m b) -> ContT r m r) -> m r doCallCC = flip runContT return . callCC++-- | Short-hand for @liftIO@.+io :: MonadIO m => IO a -> m a+io = liftIO
monad-extras.cabal view
@@ -1,20 +1,20 @@ name:           monad-extras-version:        0.1.0.0+version:        0.2.0.0 synopsis:       Extra utility functions for working with monads--- description: +-- description: homepage:       http://github.com/jwiegley/monad-extras license:        BSD3 license-file:   LICENSE author:         John Wiegley, Chris Done maintainer:     johnw@fpcomplete.com--- copyright:   +-- copyright: category:       Control build-type:     Simple cabal-version:  >=1.10  library     default-language: Haskell98-    exposed-modules:     +    exposed-modules:         Control.Monad.Extra     build-depends:         base >= 4 && < 5