[Aldor-l] [open-axiom-devel] [fricas-devel] Re: iterators

Ralf Hemmecke ralf at hemmecke.de
Sun Oct 21 15:48:25 EDT 2007


> OK.  I'd still prefer to keep the language simple.  What I would like a lot
> however is something like
> 
> for e in g repeat
>     (a, b) := e
>     ...

Possible in Aldor

> or even
> 
> for (a, b) in g repeat
>     ...
> 
> given that g returns a Cross.

Not possible in Aldor.



Stephen Watt,

is there a particular reason why the latter construction is not allowed 
in the Aldor language (I am not speaking of the compiler)?

Ralf



More information about the Aldor-l mailing list