Closed tadeuzagallo closed 8 years ago
Overloading almost always causes more problems than it solves. It makes type unification exponentially more expensive, for one.
I like your second example there. If someone really wants overloading, they can use a type class (which is just like inverted overloading).
Yeah, I convinced myself of the same as I wrote the non-overloading option, just wanted to hear your thoughts on it. Thanks!
Should the following be valid?
Or is it more idiomatic to have something like:
/cc @jspahrsummers