This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0
Alternative approach to app state handling
version 1.0.1
license MIT
native-modules False
elm-version 0.16.0 <= v < 0.17.0
Tag 1.0.1
Committed At 2016-03-10 20:39:48 UTC
evancz/focus 2.0.0 <= v < 3.0.0 2.0.2
elm-lang/core 3.0.0 <= v < 4.0.0 3.0.0
Apanatshka/elm-signal-extra 5.7.0 <= v < 6.0.0 5.7.0

Modules

README

elm-state

This library provides a different approach to handling of app state. According to this idea the application state changing in time by stream of state-mutating functions (updates).

import Html
import Time
import State

main = State.start state view updates

state = 0

view address state =
  Html.text <| toString state

updates =
  Signal.map (always <| (+) 1)
  <| Time.every Time.second