Created
April 5, 2016 22:31
-
-
Save halfzebra/e447abd8c10d61d1fbe558e02b8415c6 to your computer and use it in GitHub Desktop.
Exposing union type in Elm
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
-- module Actions (Action(NoOp, UpdateModel)) | |
module Actions (Action(..)) | |
where | |
type Action | |
= NoOp | |
| UpdateModel Int |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment