Hacker News new | past | comments | ask | show | jobs | submit login

Type inference in the ML flavors doesn't work well with this at all. The multiple implementations of functions introduces ambiguity, which lead to multiple solutions to the type equations.

This leads to very hairy inference problems, which is why none of the ML family languages (that I know of) allow ad-hoc overloading of functions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: