Module

Chameleon.Transformers.Ctx.Class

Package
purescript-chameleon-transformers
Repository
thought2/purescript-chameleon-transformers

#AskCtx Source

class AskCtx :: Type -> (Type -> Type) -> Constraintclass AskCtx ctx html | html -> ctx where

Members

  • withCtx :: forall a. (ctx -> html a) -> html a

#Ctx Source

class Ctx :: Type -> (Type -> Type) -> Constraintclass (AskCtx ctx html) <= Ctx ctx html | html -> ctx where

Members

  • setCtx :: forall a. (ctx -> ctx) -> html a -> html a

#putCtx Source

putCtx :: forall a html ctx. Ctx ctx html => ctx -> html a -> html a