| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.DoList
Contents
Description
Construct lists using do notation syntatic sugar. Example usage https://github.com/tserduke/do-list#example.
Documentation
DoList is not a real instance of Monad, Applicative or Functor.
It pretends being them to enable syntatic sugar of do notation.
Its result type is purely phantom.
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. |
| 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 # | |