Hi, I am new to nim and would be grateful if someone can help me with this -
(I have changed the back ticks around the operators to single quotes in order
to be able to post here)
type
Temp* = distinct int
proc '+'* (A, B: Temp): Temp {.borrow}
proc '<'* (A, B: Temp): bool {.borrow.}
proc '<='* (A, B: Temp): bool {.borrow.}
proc '=='* (A, B: Temp): bool {.borrow}
works fine but both
proc '>'* (A, B: Temp): bool {.borrow.}
and
proc '>='* (A, B: Temp): bool {.borrow.}
fail !
Many thanks
