This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.
Per Bothner <per@xxxxxxxxxxx> writes: > Thomas Bushnell BSG wrote: >> Where is the Scheme function which modifies closures? > > set! > > as in: > > (let ((i 0)) > (lambda () > (set! i (+ i 1)) > i)) set! is incapable of modifying a closure which has not been set up for it. The procedure (lambda () 5) is not modifiable. There is no procedure which modifies it. It is therefore atomic by the previously given definition. Thomas