tremulous-query-1.0.7: Library for polling Tremulous servers

Network.Tremulous.StrictMaybe

data Maybe a Source

Constructors

Instances

isJust :: Maybe a -> BoolSource

isNothing :: Maybe a -> BoolSource

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