arowM / elm-update-builder / Update.Lifter

Helper module to lift Updates.


type alias Lifter a b =
{ get : a -> b, set : b -> a -> a }

compose : Lifter a b -> Lifter b c -> Lifter a c

run : Lifter a b -> Update b msg -> Update a msg

Alternative to Update.child, but more scalable.