Open ssurana2 opened 7 years ago
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
Someone else commented on this elsewhere.
This looks like it was resolved here?
Hi,
It is just a minor request to update the documentation for backslash function. I started learning Elm today and got stuck at the following example provided in the Core Language section of the docs
I started the
elm-repl
cli on my system and when I tried to execute the function I was getting the following errorInitially I was not able to understand what exactly is the reason, because the compiler was also not clearly letting me know what am I doing wrong. I was able to fix it by adding some whitespace after
|
in the next line.The documentation is missing the point of adding a whitespace after
|
symbol when using backslash (\
) for continuing function's code in second line and also why an extra space is even required there?I am using Elm 0.18.0 on MacOS Sierra