monadLib 3.7.1 → 3.7.2
raw patch · 4 files changed
+7/−2 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- monadLib.cabal +1/−1
- src/MonadLib.hs +2/−1
- src/MonadLib/Derive.hs +1/−0
- src/MonadLib/Monads.hs +3/−0
monadLib.cabal view
@@ -1,5 +1,5 @@ Name: monadLib-Version: 3.7.1+Version: 3.7.2 License: BSD3 License-file: LICENSE Author: Iavor S. Diatchki
src/MonadLib.hs view
@@ -2,6 +2,7 @@ UndecidableInstances, FlexibleInstances #-} {-# LANGUAGE Rank2Types #-} {-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE Trustworthy #-} {-| This library provides a collection of monad transformers that can be combined to produce various monads. -}@@ -730,7 +731,7 @@ -------------------------------------------------------------------------------- -- Some convenient functions for working with continuations. --- | An explicit representation for monadic continuarions.+-- | An explicit representation for monadic continuations. newtype Label m = Lab (forall b. m b) -- | Capture the current continuation.
src/MonadLib/Derive.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE Rank2Types #-}+{-# LANGUAGE Safe #-} {-| This module defines a number of functions that make it easy to get the functionality of MonadLib for user-defined newtypes.
src/MonadLib/Monads.hs view
@@ -1,3 +1,6 @@+{-# LANGUAGE Safe #-}+{-# LANGUAGE FlexibleInstances #-}+{-# LANGUAGE MultiParamTypeClasses #-} {-| This module contains a collection of monads that are defined in terms of the monad transformers from "MonadLib". The definitions in this module are