astynax / tea-combine / TeaCombine.Pure.Pair

Combinators for work with pure programs (those doesn't use

initWith : model2 -> model1 -> TeaCombine.Both model1 model2

Inits two sub-models as pair.

updateWith : TeaCombine.Pure.Update model2 msg2 -> TeaCombine.Pure.Update model1 msg1 -> TeaCombine.Pure.Update (TeaCombine.Both model1 model2) (Either msg1 msg2)

Updates one of two sub-models using corresponding sub-update function.