[racket] vector-map! works on immutable vectors

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 7 09:30:46 EDT 2014

Yes. I'll fit it.

Thanks for the report!

At Wed, 7 May 2014 13:38:31 +0300, Calin Dumitrescu wrote:
> 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
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.