Free rigid selective functors.
Modulerebase-1.21.2Haskell2010
Rebase.Control.Selective.Rigid.Freer
- 1 type
- 6 values
- Packagerebase-1.21.2
- Exports7
- LanguageHaskell2010
- LicenceMIT
- SourceFreer.hs
Concatenate all effects of a free selective computation.
Collect all possible effects in the order they appear in a free selective computation.
Extract the resulting value if there are no necessary effects.
Lift a functor into a free selective computation.
Given a natural transformation from f to g, this gives a canonical
natural transformation from Select f to g.
Extract the necessary effect from a free selective computation. Note: there can be at most one effect that is statically guaranteed to be necessary.