Skip to content

Instantly share code, notes, and snippets.

@wildeyes
Created October 4, 2017 08:14
Show Gist options
  • Save wildeyes/df16ce9005a4630cbc4732db847f30c6 to your computer and use it in GitHub Desktop.
Save wildeyes/df16ce9005a4630cbc4732db847f30c6 to your computer and use it in GitHub Desktop.
Beginner Elm (Or simply functional programming) Gotchas
-- Functions are curried, that means when a function is called with not enough arguments, we don't get an "argument error exception", but a NEW function, that expects the remaining amount of arguments.
-- This can lead to some cryptic-for-beginners compiler type errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment