Y
Hacker News
new
|
ask
|
show
|
jobs
by
twanvl
2904 days ago
Haskell still uses head:tail linked lists a lot. However, a lot of effort has been spent in optimizing away the data creation entirely. For example `sum [1..100]` will not actually allocate the list in memory.