On 2/26/08, Ralf Hemmecke wrote:
> ...
> >> %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.
What is a "multiple value"? What is it's type? How is it different
from an object of Cross? What can you do with such "multiple value"
things?
> 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
Why does it not work? What should we expect this to mean?
What about
f ({1,2,3}) and f {(1,2,3)}
What do these expressions mean in Aldor?
>
> f 1,2,3
>
> is the same as
>
> (f 1), 2, 3
>
> since function application has higher precedence.
>
Yes, that is clear.
Regards,
Bill Page.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel