[plt-scheme] Savers: Superceding

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu Feb 18 10:17:48 EST 2010

On Feb 17, 2010, at 11:18 PM, Synx wrote:

> Has anyone done anything like this before?

Yes, see my very first paper. It's about just this design pattern.

1. Use (set! _to-be-superseded_ port-save)

2. Make sure you never pass it around by itself, say like process.  
Instead use (lambda x (apply _to-be-superseded_ x))

-- Matthias



Posted on the users mailing list.