hydra-0.1.0: Type-aware transformations for data and functional programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Lib.Optionals

Documentation

apply :: Maybe (a -> b) -> Maybe a -> Maybe b Source #

bind :: Maybe a -> (a -> Maybe b) -> Maybe b Source #

map :: (a -> b) -> Maybe a -> Maybe b Source #

pure :: a -> Maybe a Source #