Module

Game.Util.Maybe

Package
purescript-game
Repository
artemisSystem/purescript-game

#liftMaybe Source

liftMaybe :: forall a r. Maybe a -> Run (except :: FAIL | r) a

#liftMaybeF Source

liftMaybeF :: forall a r f. Functor f => f (Maybe a) -> f (Run (except :: FAIL | r) a)

#liftEffectF Source

liftEffectF :: forall a r f. Functor f => f (Effect a) -> f (Run (effect :: EFFECT | r) a)

#liftBoth Source

liftBoth :: forall a r. Effect (Maybe a) -> Run (effect :: EFFECT, except :: FAIL | r) a

#liftBothF Source

liftBothF :: forall a r f. Functor f => f (Effect (Maybe a)) -> f (Run (effect :: EFFECT, except :: FAIL | r) a)

#runMaybe Source

runMaybe :: forall a r. String -> Run (effect :: EFFECT, except :: FAIL | r) a -> Run (effect :: EFFECT | r) a

#runMaybe' Source

runMaybe' :: forall a. String -> Run (effect :: EFFECT, except :: FAIL) a -> Effect a

Re-exports from Run

#liftEffect Source

liftEffect :: forall r. Effect ~> (Run (effect :: EFFECT | r))