Type Classes

Type Classes

Share this post

Type Classes
Type Classes
More than linked lists

More than linked lists

Linked lists are prevalent in functional programming, but they don't take the place of other kinds of lists.

Chris Martin's avatar
Chris Martin
Dec 24, 2017
∙ Paid
1

Share this post

Type Classes
Type Classes
More than linked lists
Share

A quote:

Functional programming uses lists as the primitive data type but it's a really annoying one to use in practice. You don't have (fast) random access nor size, performance isn't awesome as you've got a lot of pointer dereferences and bad cache coherence, you cannot easily go backwards... Growable arrays have much better properties.

Apologies to the…

Keep reading with a 7-day free trial

Subscribe to Type Classes to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mission Valley Software LLC
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share