Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
naasking
on July 13, 2022
|
parent
|
context
|
favorite
| on:
Functional programming is finally going mainstream
Data types like records and algebraic types are data structures. Here's an algebraic type for polymorphic lists:
type 'a list = Nil | Cons of 'a
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: