Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
看 http://pastebin.com/VkXqenak 编译器编译有问题。我应该怎么办?哪里有错误?
let x = a and let y = b in c是不正确的。您应该使用let x = a in let y = b in c, 或let x = a and y = b in c. 这些在语法上都是正确的,但含义不同:在第二种情况下x,在 中可用c,但在中不可用b(如and定义x = a和y = b*simulatenously,一种不适用于另一种)。
let x = a and let y = b in c
let x = a in let y = b in c
let x = a and y = b in c
x
c
b
and
x = a
y = b