Created
August 4, 2018 14:09
-
-
Save truthadjustr/4394d1fe08ff44d02bebd71cfb15fa0a to your computer and use it in GitHub Desktop.
classify
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
classify age = case age of 0 -> "newborn" | |
1 -> "infant" | |
2 -> "toddler" | |
_ -> "senior citizen" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment