axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Currying and iteration


From: Antoine Hersen
Subject: [Axiom-developer] Currying and iteration
Date: Mon, 27 Mar 2006 16:06:00 -0800

Hello,

2 questions :

On currying, is this a defect or it is normal ?

(31) -> i j +-> i + j

   (31)  i +-> j +-> i + j
                                                      Type: AnonymousFunction
(32) -> %(1)

   (32)  j +-> G93074 + j
                                                      Type: AnonymousFunction
(33) -> %(1)

   (33)  G93074 + 1
                                                     Type: Polynomial Integer

On iteration

You can use the map operation on Vector and List but you can iterate(
[ i for i in List] ).
Is iteration built in a lower level of than spad, if not what should I
do to make Vector iteratable or is it not desirable ?

Thanks a lot

Antoine Hersen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]