You mean like this? https://github.com/evancz/guide.elm-lang.org/pull/51/files
2016-10-28 9:29 GMT+02:00 Daniel Clarke <[email protected]>: > Hi everyone, I'm about 10 minutes into learning Elm (coming from > JavaScript) and came across this example in the official guide > <https://guide.elm-lang.org/core_language.html>: > > > over9000 powerLevel = \ > | if powerLevel > 9000 then "It's over 9000!!!" else "meh" > <function> > > > When I first typed out this example I got this error message: > > I ran into something unexpected when parsing your code! > > 3| over9000 powerLevel = > ^ > I am looking for one of the following things: > > end of input > whitespace > > ...because I forgot to indent the second line. > > The guide could help beginners by pointing out that the indentation is > required. (I assume it's part of the language?) > > Maybe the Elm error message could make this more explicit too? Any > thoughts? > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
