elm-reactor nicely shows the error message in place of a failed compilation, but the message is rendered so that when copy-pasting it elsewhere it would not contain any newline (\n).
SSCCE: An empty elm file
Result:
I ran into something unexpected when parsing your code! I am looking for one of the following things: "{-|" a module declaration a port declaration a type declaration a value definition an import an infix declaration whitespace
elm-reactor
nicely shows the error message in place of a failed compilation, but the message is rendered so that when copy-pasting it elsewhere it would not contain any newline (\n
).SSCCE: An empty elm file
Result: