Skip to content

Instantly share code, notes, and snippets.

@jjant
Created November 4, 2019 02:54
Show Gist options
  • Save jjant/93d5c8303c5806f25dd2d87340f3ea22 to your computer and use it in GitHub Desktop.
Save jjant/93d5c8303c5806f25dd2d87340f3ea22 to your computer and use it in GitHub Desktop.
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