右侧的多个OR语句

Pos*_*Guy 1 elm

我很困惑我在这里失踪了什么.我是榆树的新手,但我不知道这是怎么回事:

move : List Char -> Char -> Int
move board symbol =
    let
        grid =
            fromList board

         found =
         ((get 0 grid == symbol) && (get 1 grid == symbol) && (get 2 grid == symbol))
           || ((get 4 grid == symbol) && (get 4 grid == symbol) && (get 5 grid == symbol))
    in
    if found then
        1
    else
        0
Run Code Online (Sandbox Code Playgroud)

错误:

The = operator is reserved for defining variables. Maybe you want == instead? Or
maybe you are defining a variable, but there is whitespace before it?

14|          found =
                         ^
Maybe <http://elm-lang.org/docs/syntax> can help you figure it out.

Detected errors in 1 module. 
Run Code Online (Sandbox Code Playgroud)

Luk*_*ard 5

榆树对压痕很敏感.

您的子句中的声明grid和声明必须具有相同的缩进,但缩进比缩进一个空格.foundletfoundgrid

尝试删除空格,以便这两个声明对齐.