Re: intermixed types and resulting types

2021-08-20 Thread ToddAndMargo via perl6-users
On 8/20/21 6:14 PM, Joseph Brenner wrote: There are some object types that are "compatible" in certain ways, for example: o You can do arithmetic operations on any Numeric types, a Rat minus and Int just works (and gives you a Rat). o You can do set operations on any of the Quant

intermixed types and resulting types

2021-08-20 Thread Joseph Brenner
There are some object types that are "compatible" in certain ways, for example: o You can do arithmetic operations on any Numeric types, a Rat minus and Int just works (and gives you a Rat). o You can do set operations on any of the QuantHash types (and some other things, like A