On Tue, Apr 8, 2008 at 12:24 PM, Alaric Snell-Pym
<[EMAIL PROTECTED]> 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


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to