Created
June 26, 2014 15:47
-
-
Save jackdempsey/e625f3a839cae2cc19e6 to your computer and use it in GitHub Desktop.
This file contains 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
> factorial n = \ | |
| if n < 1 then 1 \ | |
| else n * factorial (n-1) | |
[1 of 1] Compiling Repl ( repl-temp-000.elm ) | |
Parse error at (line 6, column 1): | |
unexpected "i" | |
expecting newline or spaces | |
> factorial n = \ | |
| if n < 1 then 1 \ | |
| else n * factorial (n-1) | |
<function> : number -> number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment