Packages

A platform agnostic Elm-like framework (soft-fork of Lustre)

Current section

Files

Jump to
agnostic include agnostic@dev@simulate_App.hrl
Raw

include/agnostic@dev@simulate_App.hrl

-record(app, {
init :: fun((any()) -> {any(), agnostic@effect:effect(any())}),
update :: fun((any(), any()) -> {any(), agnostic@effect:effect(any())}),
view :: fun((any()) -> agnostic@vdom@vnode:element(any()))
}).