[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dylan syntax forms
- To: info-dylan@cambridge.apple.com
- Subject: Dylan syntax forms
- From: Ranson <ranson@LANNION.cnet.fr>
- Date: 06 Oct 92 07:53:00 GMT
- Cc: ranson@lannion.cnet.fr
- X400-received: by /PRMD=inria/ADMD=atlas/C=FR/; Relayed; 06 Oct 92 07:52:45+0100
- X400-received: by /PRMD=CNET/ADMD=ATLAS/C=FR/; Relayed; 06 Oct 92 07:53:00 GMT
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.