News for hackers. Stuff that matters.
Re:Functional programming is finally going mainstream by naasking on Wednesday July 13, 2022 @12:26AM (#32079038)
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

There are no comments on this comment yet.