Moduleextensible-effects-5.0.0.1Haskell2010
Control.Eff.Example
Example usage of Control.Eff
- 2 types
- 10 values
- Packageextensible-effects-5.0.0.1
- Exports12
- LanguageHaskell2010
- LicenceMIT
- SourceExample.hs
specialization to tell the type of the exception
Multiple Reader effects
Write the elements of a list of numbers, in order.
Add a list of numbers to the current state.
Write a list of numbers and add them to the current state.
Sum a list of numbers.
Safely get the last element of a list. Nothing for empty lists; Just the last element otherwise.
Get the last element and sum of a list