Hacker News new | ask | show | jobs
by samth 3428 days ago
Can you say more here? What things are we missing?
1 comments

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.

Yes, immutable vectors are not a convenient data structure -- I recommend using one of the other random access functional data structures available as libraries, such as RRB trees.