Ralf Hemmecke <[EMAIL PROTECTED]> writes: > I think you have just found a bug in the Axiom interpreter/compiler.
I just did the following: -- assign.as -------------------------------------------------- #include "axiom" INT ==> Integer; R ==> Record(k: INT, rad: INT); import from R, INT; initrec(): R == [0,0]; main(): PrimitiveArray R == { xs: List R := [initrec() for i in 1..3]; import from PrimitiveArray R, List R; ys: PrimitiveArray R := construct [z for z in xs]; ys(2).k := 10; ys; } ---------------------------------------------------------------- (1) -> )co assign Compiling AXIOM source code from file /users/rubey/aldor-test/assign.as using AXIOM-XL compiler and options -O -Fasy -Fao -Flsp -laxiom -Mno-AXL_W_WillObsolete -DAxiom -Y $AXIOM/algebra Use the system command )set compiler args to change these options. #1 (Warning) Deprecated message prefix: use `ALDOR_' instead of `_AXL' Compiling Lisp source code from file ./assign.lsp Issuing )library command for assign Reading /users/rubey/aldor-test/assign.asy (1) -> main() (1) [[k= 0,rad= 0],[k= 0,rad= 0],[k= 10,rad= 0]] Type: PrimitiveArray Record(k: Integer,rad: Integer) So it really really really should go away. Martin _______________________________________________ Axiom-developer mailing list Axiom-developer@nongnu.org http://lists.nongnu.org/mailman/listinfo/axiom-developer