From: Matthew Flatt (mflatt at cs.utah.edu) Date: Tue Jan 29 13:40:08 EST 2008 |
|
As of 3.99.0.10, vector and box literals are immutable: > (vector-set! '#(1 2 3) 0 0) vector-set!: expects type <mutable vector> as 1st argument.... Along the same lines, `syntax->datum' produces immutable vectors and boxes instead of mutable ones. I doubt that this change will be controversial, but it may be interesting to check whether anyone is using mutable literals as a back door to share across instantiations of a module. Matthew
Posted on the users mailing list. |
|