astynax/tea-combine/2.0.0

NOTE: the latest version is 3.1.0

TeaCombine.Pure.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) -> Ix msg -> Array model -> Array model

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.