Raphael Collet wrote:
Grégoire Dooms wrote:
List comprehension would be some syntactic sugar like this:

{Browse [I#J for I in 1..10 for J in 1..10 if I mod J==0] }
...
   list I#J  with I in 1..10  J in 1..10  where I mod J==0 end

which is a bit more Oz-like syntax.
I thought I managed to make it look like oz syntax :-)
I was missing an "end" keyword though. ;-)

Cheers,
--
Greg.



_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to