Copyright | (c) 2016 Allele Dev; 2017 Ixperta Solutions s.r.o. |
---|---|
License | BSD3 |
Maintainer | ixcom-core@ixperta.com |
Stability | experimental |
Portability | GHC specific language extensions. |
Safe Haskell | None |
Language | Haskell2010 |
Composable handler for State
effects in terms of Reader
and Writer
effects. This module is more a tutorial on how to compose handlers. It is
slightly slower than a dedicated State
handler.
Using http://okmij.org/ftp/Haskell/extensible/Eff1.hs as a starting point.
Documentation
Represents shared immutable environment of type (e :: *)
which is made
available to effectful computation.