[racket] vector-map! works on immutable vectors

From: Calin Dumitrescu (calin.dumitrescu at gmail.com)
Date: Wed May 7 06:38:31 EDT 2014

Is this a bug?

Welcome to Racket v6.0.
> (define v #(1 2 3))
> v
'#(1 2 3)
> (immutable? v)
#t
> (vector-map! add1 v)
'#(2 3 4)
> v
'#(2 3 4)
> (immutable? v)
#t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140507/5d973579/attachment.html>

Posted on the users mailing list.