Y
Hacker News
new
|
ask
|
show
|
jobs
by
masklinn
3376 days ago
Also rustc, though it doesn't quite have overloading in the Java sense:
https://is.gd/s0oF79
2 comments
floatboth
3376 days ago
GHC doesn't either. Rust traits are heavily inspired by Haskell typeclasses… so it's like in your example.
link
mayoff
3376 days ago
Swift has overloading in the Java sense, and does allow overloading by return type.
link