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

Dylan syntax forms



Is the CAR of a special/macro form evaluated? The manual does not specifies
this. For instance, is this legal?

(define f define)
(f x 2)

My guess is that the answer is no, because the rules on function calls do not
require the function to be evaluated before the arguments. Hence one should be
able to decide if (f x 2) is a syntax form or a function call without any
evaluation.
Is that right? Maybe it should be more explicit.
     Daniel.