How can you coerce the choice of operators if the operator is monomorphic?
I have no idea what you mean. The evaluation of the operands coerces an SV to an IV, of course.
implicit conversion
I don't understand this logic. How is explicitly using a monomorphic operator which operates on numeric values any less explicit than performing a manual conversion operation through a method?
(I don't accept the "But it's easy to make a typo when using an operator!" argument because it's easy to make a typo when calling a method.)
In reply to Re^11: Strong typing and Type Safety.A multilanguage approach (implicit)
by chromatic
in thread Strong typing and Type Safety.A multilanguage approach
by nikosv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |