On Tuesday, March 28, 2006 12:36 AM Gaby wrote: > ... > Bill Page writes: > | What is a "sequence"? > > Sequence is my general term for list, vector or any "thingy" > walked through by a generator. >
Well, Aldor does have generators: http://www.aldor.org/docs/HTML/chap9.html "In fact, this form of using generators is so common, that if the expression E in ``for v in E.'' does not belong to a generator type, then an implicit call is made to an appropriate generator function. This is equivalent to writing ``for v in generator E.'' " The Aldor/Axiom interface provides such a generator for the Axiom Vector type so in Aldor one can write: V:Vector Integer := [1,2,3]; L:List Integer := [ i for i in V ]; Here is a simple example: http://wiki.axiom-developer.org/SandBoxAldorGenerator Regards, Bill Page. _______________________________________________ Axiom-developer mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/axiom-developer
