Module

Reactor.Internal.Eval

Package
purescript-grid-reactors
Repository
Eugleo/purescript-grid-reactors

#evalAction Source

evalAction :: forall world m a. MonadEffect m => { cellSize :: Int, height :: Int, width :: Int } -> StateId (State m world) -> Action m world a -> HookM m a

#renderDrawing Source

renderDrawing :: Number -> { height :: Int, width :: Int } -> Drawing -> Grid Cell