Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
(?*>) :: Alternative f => Bool -> f a -> f a Source #
Guard: return the action f
only if the boolean is True
(?$>) :: Alternative f => Bool -> a -> f a Source #
Guard: return the value a
only if the boolean is True
foldA :: (Alternative f, Foldable t) => t a -> f a Source #
Branch over a Foldable
collection of values.