3 ms·
I don't know what people have against overloading either. Nevertheless, "delimited overloading" is like overloading, but safer, since the overloading is limite
by rwmj 16y ago
I don't know what people have against overloading either. Nevertheless, "delimited overloading" is like overloading, but safer, since the overloading is limited to some scope, and readers can easily see where overloading is allowed. In OCaml you can now write something like:
Big_int.( 23 567 mod 45 + "123456789123456789123456789")
where only the operators in the parentheses are overloaded.
http://pa-do.forge.ocamlcore.org/ http://pa-do.forge.ocamlcore.org/