Module

Reactor.Internal.Eval

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

#evalAction Source

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

#renderDrawing Source

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