Skip to content

Instantly share code, notes, and snippets.

@curtiswilkinson
Last active February 5, 2018 23:28
Show Gist options
  • Save curtiswilkinson/0974d62b6e12e37a82990211ba38676e to your computer and use it in GitHub Desktop.
Save curtiswilkinson/0974d62b6e12e37a82990211ba38676e to your computer and use it in GitHub Desktop.
lang
main : String -> String
main x => {
y = x + x
y
}
main : String -> String
main x => {
case x of {
| "hi" => "bye"
| "test" => "test"
}
}
main : String -> String
main "hi" = "bye"
main "test" = "test"
module Main exposing (x) {
x = x + 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment