Created
January 24, 2023 12:21
-
-
Save marenovakovic/61f1e5746e6257caab1af82dc18145b7 to your computer and use it in GitHub Desktop.
F# Flutter app update
This file contains 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
let update msg model = | |
match msg with | |
| Increment -> { model with count = model.count + 1 }, Cmd.none | |
| Decrement -> { model with count = model.count - 1 }, Cmd.none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment