Prelate.Data.Maybe
justIf :: Bool -> a -> Maybe a Source #
Return Just if the condition is True.
Just
True
fromMaybeA :: Applicative m => m a -> Maybe a -> m a Source #
Version of maybe that takes an action as fallback.
maybe