Module

Plan.Trans

Package
purescript-plan
Repository
Lupino/purescript-plan

#Param Source

data Param

Constructors

Instances

#ActionT Source

newtype ActionT m a

Instances

#params Source

params :: forall m. Monad m => ActionT m (Array Param)

#param Source

param :: forall m. Monad m => String -> ActionT m String

#Pattern Source

newtype Pattern

Constructors

Instances

#regexPattern_ Source

#RouteRef Source

newtype RouteRef m a

Instances

#initRouteRef Source

initRouteRef :: forall r m a. Eff (ref :: REF | r) (RouteRef m a)

#PlanT Source

newtype PlanT a m b

Instances

#runPlanT Source

runPlanT :: forall a b m. Monad m => RouteRef m a -> PlanT a m b -> m b

#respond Source

respond :: forall a m r. MonadEff (ref :: REF | r) m => Pattern -> ActionT m a -> PlanT a m Unit

#reply Source

reply :: forall a m r. MonadEff (ref :: REF | r) m => String -> PlanT a m (Either Error a)
Modules
Plan.Trans