laserpants/elm-burrito-update/3.0.1

NOTE: the latest version is 3.0.4

Burrito.Update.Browser

{ init : flags -> Url -> Key -> Update model msg t
, onUrlChange : Url -> msg
, onUrlRequest : UrlRequest -> msg
, subscriptions : model -> Sub msg
, update : msg -> model -> Update model msg t
, view : model -> Document msg
}
-> Program flags model msg

Used as a drop-in replacement for Browser.application, but instead creates a Program where init and update are based on the Update type of this library.

init : flags -> Url -> Navigation.Key -> Update model msg


update : msg -> model -> Update model msg
{ init : flags -> Update model msg t
, subscriptions : model -> Sub msg
, update : msg -> model -> Update model msg t
, view : model -> Document msg
}
-> Program flags model msg

Used as a drop-in replacement for Browser.document, but instead creates a Program where init and update are based on the Update type of this library.

init : flags -> Update model msg


update : msg -> model -> Update model msg