[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Redefining macros and special forms
From: |
John Cowan |
Subject: |
Re: [Chicken-users] Redefining macros and special forms |
Date: |
Tue, 28 Oct 2014 18:05:31 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Michele La Monaca scripsit:
> Thus `my-begin' acts as either a procedure or a macro depending on
> the context.
Right. Redefining, as opposed to shadowing, a syntax keyword doesn't
destroy its definition as a syntax keyword. However, if it's used in
a context where it cannot be a syntax keyword, the variable definition
is used. That's arguably a bug in Chicken.
--
John Cowan http://www.ccil.org/~cowan address@hidden
Thor Heyerdahl recounts his attempt to prove Rudyard Kipling's theory
that the mongoose first came to India on a raft from Polynesia.
--blurb for Rikki-Kon-Tiki-Tavi