Re: [racket] vector-map! works on immutable vectors

2014-05-07 Thread Matthew Flatt
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] vector-map! works on immutable vectors

2014-05-07 Thread Calin Dumitrescu
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