>> I guess that this can be resolved by assigning a precedence >> to the brace, but I'd rather stay with Aldor... >> >> %1 >> #include "aldor" >> Comp: 70 msec, Interp: 10 msec >> %2 >> #include "aldorinterp" >> Comp: 30 msec, Interp: 0 msec >> %3 >> import from Integer >> Comp: 10 msec, Interp: 0 msec >> %4 >> {1,2,3} >> () @ AldorInteger, AldorInteger, AldorInteger >> Comp: 0 msec, Interp: 10 msec >> > > Again, doesn't this depend on the context in Aldor?
Ehm, I think: no. Aldor allows the function "bracket" but not "brace". So, the meaning of {1,2,3} is always the same. It is a multiple value. Whether you enclose 1,2,3 in braces or parentheses is only important if you write something like f (1,2,3) since f {1,2,3} does not work if f is a trivariate function and f 1,2,3 is the same as (f 1), 2, 3 since function application has higher precedence. Ralf ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel