top | item 13481123

(no title)

topkekz | 9 years ago

i found the Racket library to be inconsistent, especially anything related to Vector.

discuss

order

samth|9 years ago

Can you say more here? What things are we missing?

topkekz|9 years ago

vector-immutable is unusable, all operations on vectors return a mutable vector forcing you to rely on vector->immutable-vector every time.

Vector lacks many operations that List has, it should be easier to interchange each others. Vector even lacks combinations despite this one being implemented by converting the list to a vector first.

https://github.com/racket/racket/blob/master/racket/collects...

I have encountered many inconsistencies like this.