[plt-scheme] struct copy with optional arguments

From: Henk Boom (lunarc.lists at gmail.com)
Date: Thu Apr 3 01:10:12 EDT 2008

On 03/04/2008, Jon Rafkind <workmin at ccs.neu.edu> wrote:
> I implemented a short macro to generate a function that copies a struct and
> optionally replaces some values with arguments to the function. I got tired
> of manually extracting the values from a struct just to update 1 field so I
> was guessing maybe other people were too.
>I found the copy-struct module from David Van Horn which is pretty close,
> but slightly more verbose( in usage ).

Isn't there also a copy-struct in struct.ss?


Posted on the users mailing list.