Argument evaluation



On 5/27/06, Harald Geyer <Harald.Geyer at gmx.at> wrote:

> I wonder whether the following behaviour is intended. And if so,
> I would be curious about the reasons and where to read more about
> it.



(%i2) mytest1(x)::=cons(x, [a,b,c]);


::= defines a "macro", whereas := defines a normal function.

A macro returns code to be evaluated.  It is normally used for creating new
control structures, etc.

            -s