[plt-scheme] using sqlid in mzscheme 4.1.5

From: Matt Jadud (jadudm at gmail.com)
Date: Fri May 8 10:08:21 EDT 2009

On Fri, May 8, 2009 at 9:36 AM, Noel Welsh <noelwelsh at gmail.com> wrote:
> On Fri, May 8, 2009 at 2:13 PM, Mate Nagy <mnagy at port70.net> wrote:
> This code is ridiculous:
>  (set-car! (cdddr (cddddr (cdddr handle))) jn)
> I would replace it with a structure, which is how it should have been
> done in the first place. It looks like this code is isolated to the
> one module, so it shouldn't be too hard to drag out of the 1960s.

Or at least replace it with something like:

(set-car-of-cddddddddddr! handle jn)

Structures are probably overkill, where one clearly named function will suffice.


PS. Are my students reading this? Really, I'm kidding.

Posted on the users mailing list.