chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] define-record with default values?


From: Christian Kellermann
Subject: [Chicken-users] define-record with default values?
Date: Mon, 10 Aug 2009 21:56:22 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Dear chicken fans!

I am currently encountering the following problem:

I'd like to define a record (srfi-9) style or similar but I'd also
like to be able to pass a slot a default value.  Bigloo scheme for
example has had define-structures for that. Can this be done in
chicken as well with existing tools?

Maybe it is possible with define-record-type but I could not figure
out how to pass optional values to it.

Thanks for your advice,

Christian




reply via email to

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