[plt-scheme] pseudo statics

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Jul 1 13:53:35 EDT 2009

HtDP, chapter VII (and VIII, and Intermezzo).


On Jul 1, 2009, at 1:46 PM, Hugh Myers wrote:

> Somewhere is a discussion about code like:
>
> (define counter
>     (let ((a 0))
>       (lambda ()
>         (set! a (+ 1 a))
>         a)))
>
> I just can't remember where! Anyone have any useful pointers or such?
>
> --hsm
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.