[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] macro systems and chicken (long)
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] macro systems and chicken (long) |
Date: |
Wed, 9 Apr 2008 12:29:42 +0200 |
On Tue, Apr 8, 2008 at 12:24 PM, Alaric Snell-Pym
<address@hidden> wrote:
>
> >
> > "define-record-type" (SRFI-9) should be sufficient. The problem is
> > that
> > it is not that easy to construct identifiers in hygienic macros (or
> > it probably
> > is, I don't know, I haven't thought about it very much, yet. There
> > are many
> > loose ends in the moment since so much changes).
> >
> >
>
> It shouldn't be a problem - just (string->symbol (string-append
> (symbol->string record-name) "-" (symbol->string slot-name))) or
> whatever as usual and then don't explicitly rename it, I reckon.
>
In a hygienic macro system the name alone doesn't uniquely identify
a binding - you also have context information, which is stripped in
the expander of a define-macro.
cheers,
felix
- Re: [Chicken-users] macro systems and chicken (long), (continued)
- Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/14
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/07
- Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/08
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/08
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/08
- Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/09
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/12
- Re: [Chicken-users] macro systems and chicken (long), Graham Fawcett, 2008/04/07
- Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/08
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/08
- Re: [Chicken-users] macro systems and chicken (long),
felix winkelmann <=
- Re: [Chicken-users] macro systems and chicken (long), Alex Shinn, 2008/04/17
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/17
- Re: [Chicken-users] macro systems and chicken (long), Alex Shinn, 2008/04/17
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/18
Re: [Chicken-users] macro systems and chicken (long), John Cowan, 2008/04/06
Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/07