4 ms·
Aren't Rust "type-classes" also limited and use single-dispatch?
by Peaker 14y ago
Aren't Rust "type-classes" also limited and use single-dispatch?
- tikhonj 14y agoI haven't used Rust very much yet, but my impression is that they can dispatch on the return type at the very least. So they can have a Num typeclass. Perhaps they're limited in some other ways, but it sounds like a good start.