[plt-scheme] with-slots patch

From: Momchil Velikov (velco at fadata.bg)
Date: Thu Sep 30 15:29:57 EDT 2004

Momchil Velikov wrote:
> (require (lib "swindle.ss" "swindle"))
> 
> (defclass <foo> (<object>) (x :initvalue 0))
> (define a (make <foo>))
> (with-slots a ((y x)) (display y))
> 
> The above needs the following patch in order to work.

Ok, I guess it was meant to be used like

  (with-slots a ((y 'x)) (display y)

nevermind ...


Posted on the users mailing list.