Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.DoList
Contents
Description
Construct lists using do notation. Example usage https://github.com/tserduke/do-list#examples.
Control.Monad.Writer from the mtl package provides a somewhat faster yet less flexible Monoid-based alternative.
Documentation
DoList
is not a real instance of Monad
, Applicative
or Functor
.
It pretends being them with purely phantom result type.
Instances
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. |
IsList (DoList a r) Source # | |
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 # | |
IsString a => IsString (DoList a r) Source # | |
type Item (DoList a r) Source # | |