Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
masklinn
· 9y ago · 0 comments
Also rustc, though it doesn't quite have overloading in the Java sense:
https://is.gd/s0oF79
Comments
[–]
floatboth
9y ago
GHC doesn't either. Rust traits are heavily inspired by Haskell typeclasses… so it's like in your example.
[–]
mayoff
9y ago
Swift has overloading in the Java sense, and does allow overloading by return type.