3 ms·
Not only has Haskell "abandoned" cons cells, its lists were never cons cells at all. The type system forbids (a . 1) entirely. In Haskell there's a movement to
by light_hue_1 1y ago
Not only has Haskell "abandoned" cons cells, its lists were never cons cells at all. The type system forbids (a . 1) entirely.
In Haskell there's a movement to get rid of much of the special syntax for lists. And a lot of code has moved on from lists. Many people never use them, I don't.
What killed lists is the reality of their horrific performance. They were great 40 years ago. But memory and CPU speed have scaled with different factors that make lists almost always the wrong choice.