3 ms·
> Rust's traits are type-classes. And the functor typeclass in Rust looks like...?
by throwaway487550 8y ago
> Rust's traits are type-classes.
And the functor typeclass in Rust looks like...?
- paavohtl 8y agoRust doesn't currently have higher-kinded types, which are a separate feature from typeclasses. Implementing a true Functor trait is impossible without HKT, though the lack of it and other FP abstractions generally speaking hasn't been an issue.