标签在Elm中意味着什么?

joh*_*ual 1 elm

我正在弄乱榆树,我得到了这个错误信息:

[1 of 1] Compiling Main                ( Main.elm )
Parse error at (line 3, column 1):
unexpected '\t'
expecting newline, spaces or end of input
Run Code Online (Sandbox Code Playgroud)

标签在Elm中是否具有特殊含义,因为它们可能在Python中?


例如http://share-elm.com/sprout/53d1a38ae4b07afa6f98344d

main : Element
main = flow down
    [ leftAligned (toText "A")
    , leftAligned (toText "B")
    , leftAligned (toText "C")
  ]
Run Code Online (Sandbox Code Playgroud)

Joe*_*Joe 5

它抱怨你使用制表符而不是空格缩进.

当用空格替换制表符时,您将看到代码有效.

http://share-elm.com/sprout/53d1ad92e4b07afa6f983471