【发布时间】:2014-05-05 12:35:32
【问题描述】:
我想在我的程序中有一个 for 循环,它是用 mozart-oz 编写的。每次我尝试 for 循环时,都会出错。我已经检查了语法及其正确性,但它给出了错误。这是我的代码:
OZ:
declare
fun {Test L}
for E in L do
{Browse L}
end
end
declare
L = [1 2 3 4 5]
{Test L}
请帮忙。
谢谢
【问题讨论】:
标签: function for-loop oz mozart