0
为什么编译?变量在打印语句后被遗忘
fun foo (h::t) =
h = hd(t);
但这并不
fun foo (h::t) =
PolyML.print (h::t);
print "\n";
h = hd(t);
?
Value or constructor (h) has not been declared Found near =(h, hd(t))
Value or constructor (t) has not been declared Found near =(h, hd(t))
Exception- Fail "Static errors (pass2)" raised