2 ms·
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
by naasking 4y ago
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