uvmhs-0.0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

UVMHS.Core.Data.Option

Documentation

elim𝑂 :: (() -> b) -> (a -> b) -> 𝑂 a -> b Source #

ifNone :: a -> 𝑂 a -> a Source #

ifNoneZ :: a -> 𝑂 a -> a Source #

ifNoneM :: Return m => m a -> 𝑂 a -> m a Source #

ifNoneMZ :: Return m => m a -> 𝑂 a -> m a Source #

first :: 𝑂 a -> 𝑂 a -> 𝑂 a Source #

last :: 𝑂 a -> 𝑂 a -> 𝑂 a Source #

Orphan instances

Bind 𝑂 Source # 
Instance details

Methods

(≫=) :: 𝑂 a -> (a -> 𝑂 b) -> 𝑂 b Source #

Functor 𝑂 Source # 
Instance details

Methods

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

FunctorM 𝑂 Source # 
Instance details

Methods

mapM :: Monad m => (a -> m b) -> 𝑂 a -> m (𝑂 b) Source #

Monad 𝑂 Source # 
Instance details

Return 𝑂 Source # 
Instance details

Methods

return :: a -> 𝑂 a Source #

ToIter a (𝑂 a) Source # 
Instance details

Methods

iter :: 𝑂 a -> 𝐼 a Source #

Append a => Append (𝑂 a) Source # 
Instance details

Methods

(⧺) :: 𝑂 a -> 𝑂 a -> 𝑂 a Source #

Monoid a => Monoid (𝑂 a) Source # 
Instance details

Null a => Null (𝑂 a) Source # 
Instance details

Methods

null :: 𝑂 a Source #

(𝑂 a) (() a) Source # 
Instance details

Methods

isoto :: 𝑂 a -> () a Source #

isofr :: (() a) -> 𝑂 a Source #