Re: intermixed types and resulting types

2021-08-30 Thread Brad Gilbert
The multi infix:<+>( \a, \b ) candidate is the one that accepts non Numeric values. What it does is try to convert the two values into Numeric ones, and then redispatch using those values. If either one produces an error instead of a Numeric, that error is passed along. On Mon, Aug 30, 2021 at 9

Re: intermixed types and resulting types

2021-08-30 Thread Ralph Mellor
On Sun, Aug 22, 2021 at 4:59 PM yary wrote: > > "How would you know what types are compatible for a particular operation?" > > inspecting a routine's arguments. Bingo. > The first couple candidates raise questions for me > > multi($x = 0) - how is there a single-arg candidate for an infix operat