Module
Graphics.CanvasAction.Types
- Package
- purescript-canvas-action
- Repository
- artemisSystem/purescript-canvas-action
#CanvasAction Source
type CanvasAction = ReaderT Context2D EffectThe CanvasAction monad is a monad transformer stack, more specifically
the ReaderT monad transformer applied to the Effect monad, reading a
value of type Context2D.
#runAction Source
runAction :: forall m a. MonadEffect m => Context2D -> CanvasAction a -> m aRun a CanvasAction in a MonadEffect, on the provided Context2D.