astynax/tea-combine/1.1.0

NOTE: this package is not compatible with Elm 0.19.1

TeaCombine.Effectful.Many

Combinators those help to work with homogenous sets of sub-models (in a form of @Array).

TODO: add some great docs.

updateEach : (Int -> Update model msg) -> Update (Array model) (Ix msg)

Updates each sub-model in @Array using a function from sub-model index to sub-update.

updateAll : List (Update model msg) -> Update (Array model) (Ix msg)

Updates an @Array of sub-models using a @List of sub-updates.