Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Alt F
is the free Alternative
functor on F
Synopsis
Documentation
Nope :: Alt f a | |
Pure :: a -> Alt f a | |
Ap :: Alt f (a -> b) -> Alt f a -> Alt f b | |
Alt :: Alt f a -> Alt f a -> Alt f a | |
Lift :: f a -> Alt f a |
runAlt :: forall f g a. Alternative g => (forall x. f x -> g x) -> Alt f a -> g a Source #