Safe Haskell | Safe |
---|
Eta.Classes.Alternative
Documentation
class Applicative f => Alternative f where #
Instances
Alternative [] | |
Alternative Maybe | |
Alternative IO | |
Alternative U1 | |
Alternative f => Alternative (Rec1 f) | |
MonadPlus m => Alternative (WrappedMonad m) | |
Alternative (Proxy *) | |
(Alternative f, Alternative g) => Alternative ((:*:) f g) | |
(Alternative f, Applicative g) => Alternative ((:.:) f g) | |
Alternative f => Alternative (Alt * f) | |
(ArrowZero a, ArrowPlus a) => Alternative (WrappedArrow a b) | |
Alternative f => Alternative (M1 i c f) | |