@sun @lucy @snacks @prettygood whats a good functional abstraction you can use with linked lists but not arrays? you can use map-reduce-filter with arrays, you can even do recursive algorithms by implementing them using array-views, which under the hood are just pointer arithmetic, without the huge cache non-locality cost that linked list traversal has
in lazy FP languages (i.e. Haskell), linked lists are great because you can use them to structure control flow and deforestation means the linked lists will rarely actually be produced in practice. but that doesn't make them a good way to store and query lots of data