[plt-scheme] Okay, you've got me thinking (was: Quicksort in Scheme)

From: Shriram Krishnamurthi (shriram at gmail.com)
Date: Wed Jan 4 16:29:08 EST 2006

Greg,

I'm not sure you entirely understand the interaction of continuations
and mutation.  To wit:

> (define a 10)
> (call/cc (lambda (k) (set! a 5) (k 'dummy)))
dummy
> a
5

Shriram


Posted on the users mailing list.