Can someone help me solve this operator overloading problem?
I'd like to have it so that the following does overload specialFloat += float, but NOT float += float...
is that not possible?
type specialFloat = float
proc `+=` (a: var specialFloat, b: float) =
a = a + b
right, distinct types!
had completely forgotten about them.
Issue resolved. :)