Let's make a collection of collections

I love data structures. My goal is to make a huge library of many data structures. Hopefully this should use NO JS (Unless I need to make a blazing-fast Hash dictionary).

My goals:

  • association list
  • set
  • arrays (fixed length lists)
  • frozen data structures
  • dequeues
  • doubly linked lists
  • ITERATORS!!!

I can try to make the fixed-length arrays.

OK, Nice!
I’ll do dequeues.

Should I make them as custom types or just regular lists that use custom blocks to make them act like arrays?

Custom types with custom blocks :)

Don’t we already have association lists?

Yes, for that I plan just to add a simple API to make it allow numeric keys.