|
|
|
|
|
by lmm
2729 days ago
|
|
Deriving typeclass implementations is something I do all the time in regular application code (in Scala), once you're used to it it gives you a lot of safety and expressive power. It sounds like Rust would benefit from some kind of record system / generic representation of traits (like we get from Shapeless in Scala) so that generic trait deriving could be written in normal code without needing macros. |
|
That said, an equivalent library in Rust would be very useful.