Here base and shift both have type Int. So why is Nat.mod selected to begin with, instead of Int.mod? The answer is because the second argument has type Nat.
I think it should be highlighted in the same color as Nat, right? Why isn't anything that color?
Here
base
andshift
both have typeInt
. So why isNat.mod
selected to begin with, instead ofInt.mod
? The answer is because the second argument has typeNat
.I think it should be highlighted in the same color as
Nat
, right? Why isn't anything that color?