[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Enum macro proposal
From: |
Zbigniew |
Subject: |
Re: [Chicken-hackers] Enum macro proposal |
Date: |
Sun, 28 Oct 2007 22:00:40 -0500 |
A similar macro "define-enum" is available in miscmacros, without the
capability for setting the counter. It might be worth extending it to
support this.
On 10/28/07, Peter Bex <address@hidden> wrote:
> Hi all,
>
> For a project I'm currently working on I'm implementing a network
> protocol in pure Scheme. This protocol uses numeric constants as
> message types. Since Chicken is targeted very much at interoperability
> with existing C code, I thought the following macro would make a nice
> addition to chicken-more-macros.scm: