Created
October 4, 2017 08:14
-
-
Save wildeyes/df16ce9005a4630cbc4732db847f30c6 to your computer and use it in GitHub Desktop.
Beginner Elm (Or simply functional programming) Gotchas
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
-- 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