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