On 3/17/08, Themos Tsikas wrote: > foo(x) == list x > > works for you? >
This function is *not* equivalent to what Angelos wrote which could actually be written most simply as just: foo(x) == x > > foo(x)== > > L:=[x.1-x.1] > > L:= append(L,x) > > return L However I am sure that he intended this only as an example and in general the logical of this function could be much more complex then just calling append and returning what was passed. As I understand it the point of the example is that we want 'L' to have the *same type* as 'x' but a different value - without ever specifying the actual type of 'x'. Regards, Bill Page. _______________________________________________ Axiom-mail mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/axiom-mail
