Module

Marionette.Controllers.Pure

Package
purescript-marionette
Repository
thought2/purescript-marionette

A simplistic controller that is completely pure and does not perform any side effects.

#UpdateFn Source

type UpdateFn msg sta = msg -> sta -> sta

Pure update Function

#mkController Source

mkController :: forall msg sta. UpdateFn msg sta -> Controller msg sta

Creates a low level controller when given a pure update function