Created
March 15, 2017 16:35
-
-
Save miguelarian/e109c73f169dd6c7005bc66f695072d9 to your computer and use it in GitHub Desktop.
model
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
-- MODEL | |
type alias Model = | |
{ -- We are forced to use float to avoid runtime exceptions in DIV operation | |
op1 : Float | |
, op2 : Float | |
, result : Float | |
} | |
model : Model | |
model = | |
{ op1 = 0 | |
, op2 = 0 | |
, result = 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment