4 ms·
Linked lists are the default "goto" data structures for Haskell and many other functional languages, such as Lisp.
by jnbiche 10y ago
Linked lists are the default "goto" data structures for Haskell and many other functional languages, such as Lisp.
- adrianN 10y agoStoring strings as a linked list of characters in Haskell was a design mistakes imho, which lead to the proliferation of various efficient string types implemented in libraries.