Free rigid selective functors.
Modulererebase-1.21.2Haskell2010
Control.Selective.Rigid.Free
- 1 type
- 6 values
- Packagererebase-1.21.2
- Exports7
- LanguageHaskell2010
- LicenceMIT
- SourceFree.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 necessary effect from a free selective computation. Note: there can be at most one effect that is statically guaranteed to be necessary.
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.