Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
throwaway487550
· 7y ago · 0 comments
> Rust's traits are type-classes.
And the functor typeclass in Rust looks like...?
Comments
[–]
paavohtl
7y ago
Rust 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.