[r6rs-discuss] Question about "expand time" vs. "execution time"

From: Brian C. Barnes <bcbarnes>
Date: Sun, 27 May 2007 20:34:38 -0500

Ok - perhaps a light bulb is beginning to shine ...

But that begs another question. Given the following:

(define-syntax ttf ...)
(define ttf +)

(ttf 5 3)
(apply ttf (list ... ))

Are these valid? Does "ttf" now refer to a macro, or to the "+" procedure?
Or both - depending on its use.

Thanks for your insights.

Brian C. Barnes

-----Original Message-----
From: John Cowan [mailto:cowan at ccil.org]
Sent: Sunday, May 27, 2007 20:24
To: Brian C. Barnes
Cc: r6rs-discuss at lists.r6rs.org
Subject: Re: [r6rs-discuss] Question about "expand time" vs. "execution
time"

Brian C. Barnes scripsit:

> (define-syntax ttf

[...]

> (bProc ttf)

That's a reference to an undefined variable "ttf", which has absolutely
nothing to do with the syntax identifier "ttf".

-- 
In politics, obedience and support      John Cowan <cowan at ccil.org>
are the same thing.  --Hannah Arendt    http://www.ccil.org/~cowan
Received on Sun May 27 2007 - 21:34:38 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC