Safe Haskell | None |
---|---|
Language | Haskell2010 |
Construct lists using do notation syntatic sugar. Example usage https://github.com/tserduke/do-list#example.
For a multifunctional alternative use Control.Monad.Writer from the mtl package.
Documentation
DoList
is not a real instance of Monad
, Applicative
or Functor
.
It pretends being them to enable do notation.
Its result type is purely phantom.
Monad (DoList a) Source # | Monadic operations are not supported. |
Functor (DoList a) Source # | Functor operations are not supported. |
Applicative (DoList a) Source # | Applicative operations are not supported. |
Eq a => Eq (DoList a r) Source # | |
Ord a => Ord (DoList a r) Source # | |
Read a => Read (DoList a r) Source # | |
Show a => Show (DoList a r) Source # | |