On Monday 07 May 2007 09:44, Raphael Collet wrote:
> %% the first 10 elements are distant from at least 2
> Xs10={List.take Xs 10}
> for X in Xs10 Y in Xs10.2 do
> Y >=: X + 2
> end
Sure, that's better than introducing additional variables.
Best,
Torsten
--
Torsten Anders
http://strasheela.sourceforge.net/
http://torsten-anders.de/
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users