| Portability | GADTs, Rank2Types |
|---|---|
| Stability | provisional |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Safe Haskell | None |
Control.Alternative.Free
Description
Left distributive Alternative functors for free, based on a design
by Stijn van Drongelen.
Documentation
The free Alternative for a Functor f.
runAlt :: Alternative g => (forall x. f x -> g x) -> Alt f a -> g aSource
Given a natural transformation from f to g, this gives a canonical monoidal natural transformation from to Alt fg.