Re: References/locations

2008-08-18 Thread Clinton Ebadi
"Maciek Godek" <[EMAIL PROTECTED]> writes: >> What is so wrong with forms like `(set! (vector-ref foo index) ...)'? > > In scheme the only problem is that they don't work, unless we > redefine vector-ref: > (define vector-get vector-ref) > (define vector-ref (make-procedure-with-setter vector-get v

Re: References/locations

2008-08-18 Thread Maciek Godek
Clinton Ebadi: >> I've been thinking of implementing this "location" stuff >> as a smob, but you've got the point that it is (probably) >> impossible to implement the location system without >> redefining set! and define. > > You may want to read a few documents on functional programming to see >