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