【发布时间】:2014-08-11 16:52:14
【问题描述】:
我想做以下事情:
let dist = Stack.pop stck and dir = Stack.pop stck in (
print_endline(dist);
print_endline(dir);
......
......
)
上面给了我以下错误:
Error: This expression has type unit
This is not a function; it cannot be applied.
如何在多行中使用变量 dist 和 dir?
【问题讨论】:
标签: ocaml