I guess it's worth pointing out GHC's -XDeriveDataTypeable language
extension, this let's the compiler automatically derive the Typeable
instance for user defined datatypes. If you want to copy Data.Typeable
having something (a macro?) to automagically implemented Typeable goes a
long way to aiding usability.

I'm not sure if an equivalent to Haskell's `derive` exists in Rust. I'm
rather new here :)


Cheers,
Danny Gratzer
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to