Module
Flame.Application.EffectList
- Package
- purescript-flame
- Repository
- easafe/purescript-flame
The Elm like way to run a Flame application
The update function returns an array of side effects
#Application Source
type Application model message = App model message (init :: Tuple model (Array (Aff (Maybe message))), update :: model -> message -> Tuple model (Array (Aff (Maybe message))))
Application
contains
init
– the initial model and a list of messages to invokeupdate
withview
– a function to update your markupupdate
– a function to update your modelinputs
– an array of signals