[plt-scheme] how to abstract over (new ...) expressions?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu May 11 20:59:24 EDT 2006

You may want to consider a mixin, parameterized over f, instead. It 
introduces the "dummy" parameter once but that's just like using map to 
achieve for-each. -- Matthias

On May 11, 2006, at 8:50 PM, Richard Cobbe wrote:

> My situation is a bit tricker, because A% and B% are defined in someone
> else's PLaneT package, so I can't set up their init args as you do
> above.  But I could define my-A% to be subclass of A%, add the
> additional init arg to my-A%, and create instances of my-A%.
> As it turns out, I went with Sam's solution; I'll probably leave it at
> that.

Posted on the users mailing list.