Created
February 21, 2017 23:11
-
-
Save marick/1732e3091e1992a3673c2b940301f9d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update : FormOperation -> Form -> Model -> (Model, Cmd Msg) | |
update op form model = | |
case op of | |
CancelEdits -> | |
model |> Form.givenOriginalAnimal form upsertAnimal |> noCmd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment