Why not just add classes?

You are right. Rust's traits are absolutely an implementation of type classes, though there are some differences from Haskell's implementation.

1 Like