tremulous-query-1.0.5: Library for polling Tremulous servers

Safe HaskellSafe-Infered

Network.Tremulous.StrictMaybe

Documentation

data Maybe a Source

Constructors

Nothing 
Just !a 

Instances

Monad Maybe 
Functor Maybe 
Eq a => Eq (Maybe a) 
Ord a => Ord (Maybe a) 
Read a => Read (Maybe a) 
Show a => Show (Maybe a) 

fromMaybe :: a -> Maybe a -> aSource

maybe :: b -> (a -> b) -> Maybe a -> bSource

whenJust :: Monad m => Maybe t -> (t -> m ()) -> m ()Source

whileJust :: Monad m => a -> (a -> m (Maybe a)) -> m ()Source