[plt-scheme] Structure constructor

Jens Axel Søgaard jensaxel at soegaard.net
Mon Jul 17 15:52:51 EDT 2006


Robby Findler wrote:

>
>Well, it sounds like the above might suit you best, but you could write
>a macro that accepts the struct names and generates code for particular
>cases in your traversal.
>
That were plan B.

>You might also want to look at copy-struct.
>
I did, but copy-struct requires you to know the type of structures being 
copied.

-- 
Jens Axel Søgaard




More information about the plt-scheme mailing list