我正在尝试制作列表差异.找到\\\\使列表区别的前置运算符.但是错误Not in scope: '\\\\'发生了.这是我从命令行解释器的简单:
Prelude> ([1,2,3] ++ [5,6]) -- works like expected
[1,2,3,4,5,6]
prelude> ([1,2,3] \\\\ [1,2]) -- erros occurs
<interactive>:1:11: Not in scope: "\\\\"
Run Code Online (Sandbox Code Playgroud)
谢谢你解释我犯了什么错误.
haskell ×1