Fresheyeball/elm-return/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

Return

When writing Elm code you unavoidably have to interact with types like this:

(model, Cmd msg)

This library makes that a Type:

type alias Return msg model = (model, Cmd msg)

You can interact with Return in terms of the Model, and trust that Cmds get tracked and batched together automatically. Letting you focus on composing transformations on Return without manually shuffling around Cmd.