[
    {
        "name": "Response",
        "comment": "\nResponse utilities for Elm Architecture. Build responses from tasks, pipe them, map over.\n\n# Construct\n@docs Response, res, taskRes, withEffects, withTask, withNone\n\n# Transform\n@docs mapModel, mapEffects, mapBoth\n",
        "unions": [],
        "aliases": [
            {
                "name": "Response",
                "comment": " A response is an updated model and some effects. ",
                "args": [
                    "model",
                    "action"
                ],
                "type": "( model, Effects action )"
            }
        ],
        "values": [
            {
                "name": "mapBoth",
                "comment": " Map over model and effects. ",
                "type": "(m -> m_) -> (a -> a_) -> Response m a -> Response m_ a_"
            },
            {
                "name": "mapEffects",
                "comment": " Map over effects. ",
                "type": "(a -> a_) -> Response m a -> Response m a_"
            },
            {
                "name": "mapModel",
                "comment": " Map over model. ",
                "type": "(m -> m_) -> Response m a -> Response m_ a"
            },
            {
                "name": "res",
                "comment": " Canonical usage: construct a result from model and effects. ",
                "type": "m -> Effects a -> Response m a"
            },
            {
                "name": "taskRes",
                "comment": " Construct a result from model and task. ",
                "type": "m -> Task Never a -> Response m a"
            },
            {
                "name": "withEffects",
                "comment": " Construct a result from model and effects, flipped for piping:\n\n    { model | foo = bar }\n      |> withEffects someEffects\n ",
                "type": "Effects a -> m -> Response m a"
            },
            {
                "name": "withNone",
                "comment": " Construct a result from model without effects, flipped for piping:\n\n    { model | foo = bar }\n      |> withNone\n ",
                "type": "m -> Response m a"
            },
            {
                "name": "withTask",
                "comment": " Construct a result from model and task, flipped for piping:\n\n    { model | foo = bar }\n      |> withTask someTask\n ",
                "type": "Task Never a -> m -> Response m a"
            }
        ],
        "binops": []
    }
]