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 a m r. Eff (ref :: REF | r) (RouteRef m a)

#PlanT Source

newtype PlanT a m b

Instances

#runPlanT Source

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

#respond Source

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

#reply Source

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