@@ -23,7 +23,7 @@ main = do
2323#### ` Config `
2424
2525``` purescript
26- type Config e ev st fx = { " initialState" :: st, " view" :: st -> Markup e, " foldp" :: FoldP st ev fx, " inputs" :: Array (Signal ev) }
26+ type Config e ev st fx = { initialState :: st, view :: st -> Markup e, foldp :: FoldP st ev fx, inputs :: Array (Signal ev) }
2727```
2828
2929The configuration of an app consists of foldp and view functions along
@@ -36,7 +36,7 @@ be merged into the app's input signal.
3636#### ` CoreEffects `
3737
3838``` purescript
39- type CoreEffects fx = (" channel" :: CHANNEL, "err" :: EXCEPTION | fx)
39+ type CoreEffects fx = (channel :: CHANNEL, exception :: EXCEPTION | fx)
4040```
4141
4242The set of effects every Pux app needs to allow through when using ` start ` .
@@ -53,7 +53,7 @@ main state = do
5353#### ` App `
5454
5555``` purescript
56- type App e ev st = { " markup" :: Signal (Markup e), " state" :: Signal st, " events" :: Signal (List ev), " input" :: Channel (List ev) }
56+ type App e ev st = { markup :: Signal (Markup e), state :: Signal st, events :: Signal (List ev), input :: Channel (List ev) }
5757```
5858
5959An ` App ` is a record consisting of:
@@ -76,7 +76,7 @@ Return an `EffModel` from the current event and state.
7676#### ` EffModel `
7777
7878``` purescript
79- type EffModel st ev fx = { " state" :: st, " effects" :: Array (Aff (CoreEffects fx) (Maybe ev)) }
79+ type EffModel st ev fx = { state :: st, effects :: Array (Aff (CoreEffects fx) (Maybe ev)) }
8080```
8181
8282` EffModel ` is a container for state and asynchronous effects which return
0 commit comments