Welcome to the CHICKEN Scheme pasting service

weak locatives added by DerGuteMoritz on Wed Oct 26 21:57:07 2011

#;47> (define foo '(9 2 3))
#;48> (define bar (make-weak-locative foo))
#;49> (print (locative->object bar))
(9 2 3)
#;50> (set! foo 'something)
#;51> (gc)
1603247
#;52> (print (locative->object bar))
#f

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which one-argument R5RS procedure returns 3 when given `'(1 2 3 4)' as input?
Visually impaired? Let me spell it for you (wav file) download WAV