License | BSD-style (see the file LICENSE) |
---|---|
Maintainer | ocean0yohsuke@gmail.com |
Stability | experimental |
Portability | --- |
Safe Haskell | Safe |
Language | Haskell2010 |
This module is just a concise mimic for List Monad in mtl(monad-transformer-library).
The qualifier "concise" means that this module doesn't make no attempt to transform functions of any kind of Monad automatically.
So when making some new data type of ListT, you have to manually define involved Monad instances,
for example MonadReader
, MonadWriter
or MonadState
,
by making use of the transformation functions such as trans
, trans2
, etc.
Admittedly it is tedious though, you can deeply understand monad-transformation mechanism instead.