chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] macro systems and chicken (long)


From: Alaric Snell-Pym
Subject: Re: [Chicken-users] macro systems and chicken (long)
Date: Tue, 8 Apr 2008 11:24:23 +0100


"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.


cheers,
felix


ABS

--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/?author=4






reply via email to

[Prev in Thread] Current Thread [Next in Thread]