[plt-scheme] associating data with structure types
From: Lauri Alanko (la at iki.fi)
Date: Wed Feb 15 02:12:59 EST 2006 |
|
On Wed, Feb 15, 2006 at 12:01:15AM +0100, Jens Axel Søgaard wrote:
> Is Herman's define-struct/opt doing what you want?
>
> <http://ja.soegaard.net/planet/html/dherman/struct.plt/current/doc.txt>
No, I don't think so. It just gives a small new feature: default values
for constructor arguments. Define-struct*, on the other hand, doesn't
really provide any additional features for structs, it just provides a
nice interface for using all the standard features that
make-struct-type supports but define-struct doesn't.
Lauri