News for hackers. Stuff that matters.
Re:Algebraic Data Types for C99 by eru on Friday May 10, 2024 @10:44AM (#40319647)
> They are conceptually related concepts, but the language puts syntactic distance between the two, and I don't think it should.

Haskell's type classes are a bit like Rust's traits. Type classes are open by default, but optionally can be closed off.

There are no comments on this comment yet.