|
|
|
|
|
by eru
766 days ago
|
|
> 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. |
|