haskus-system-0.6.0.0: Haskus system programming framework

Safe HaskellSafe
LanguageHaskell2010

Haskus.Utils.Maybe

Description

Utils for Maybe data type

Synopsis

Documentation

onNothing :: Maybe a -> a -> a Source #

Flipped fromMaybe

onNothingM :: Monad m => m (Maybe a) -> m a -> m a Source #

Flipped fromMaybeM

fromMaybeM :: Monad m => m a -> m (Maybe a) -> m a Source #

fromMaybe in a Monad

module Data.Maybe