36. implement LargerThan<A, B>
Share
- accepted / - tried
Implement LargerThan<A, B>
to compare two non-negative integers.
type A = LargerThan<0, 1> // falsetype B = LargerThan<1, 0> // truetype C = LargerThan<10, 9> // true
- accepted / - tried
Implement LargerThan<A, B>
to compare two non-negative integers.
type A = LargerThan<0, 1> // falsetype B = LargerThan<1, 0> // truetype C = LargerThan<10, 9> // true