mozart

Opinions on the Mozart/Oz programming language?

http://www.mozart-oz.org/ Yes I realize that Oz is a fairly obscure language. I first heard about it in the Programming Language Shootout. Then I found this Wikipedia article which states Mozart/Oz to support eight different paradigms. So I gave it a try. There were plenty of documentation, except that I found it very confusing and la...

How do I create a list in Oz?

I'm trying to create a list in Oz using the following code: local Loop10 Xs in proc {Loop10 I} Xs={List.append Xs I} if I == 10 then skip else {Browse I} {Loop10 I+1} end {Browse Xs} end {Loop10 0} end The Mozart compiler shows that the code is accepted, but no Browse window opens up. All ...

How do I convert an integer to a list and vice versa in Oz?

How do I convert an integer to a list and back in Oz? I need to take a number like 321 and reverse it into 123. The Reverse function in Oz only works on lists so I want to convert 321 to [3 2 1], reverse it, and convert [1 2 3] back to 123. Can this be done in Oz? ...