Created
November 4, 2019 02:54
-
-
Save jjant/93d5c8303c5806f25dd2d87340f3ea22 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
multiply a b = a * b | |
double num = multiply num 2 | |
greet name = | |
if name == "" then | |
"Hello world!" | |
else | |
"Hi " ++ name ++ "!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment