hix-0.7.2: Haskell/Nix development build tools
Safe HaskellNone
LanguageGHC2021

Hix.Maybe

Synopsis

Documentation

justIf :: Bool -> a -> Maybe a Source #

Return Just if the condition is True.

fromMaybeA :: Applicative m => m a -> Maybe a -> m a Source #

Version of maybe that takes an action as fallback.