[racket] struct with default value per field

From: Laurent (laurent.orseau at gmail.com)
Date: Sat Jun 22 05:04:26 EDT 2013

On Sat, Jun 22, 2013 at 10:23 AM, Patrick Useldinger
<uselpa.list at gmail.com>wrote:

> The only thing I find is #:auto-value, which applies to all fields.
> Is there a way to do the same in Racket? If not, is there a specific
> reason for this choice?

Not that I know of, and I'm wondering about that too.
But because Racket is so powerful, you can actually quite easily add this
feature yourself, for example:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130622/da16b3e8/attachment.html>

Posted on the users mailing list.