Combinators for work with pure programs (those doesn't use
oneOfInits : m1 -> m2 -> ( Either () () -> Either m1 m2, List.Nonempty.Nonempty (Either () ()) )
Combines two initial models to selector and list of paths.
This is a first step in the "oneOfInits+[orInit]"-chain.
orInit : m2 -> ( path -> m1, List.Nonempty.Nonempty path ) -> ( Either path () -> Either m1 m2, List.Nonempty.Nonempty (Either path ()) )
Adds an another init to the "oneOfInits+[orInit]"-chain.
updateEither : TeaCombine.Pure.Update model2 msg2 -> TeaCombine.Pure.Update model1 msg1 -> Either msg1 msg2 -> Either model1 model2 -> Either model1 model2
Updates one of two sub-models using corresponding sub-update function.