37. implement SmallerThan<A, B>
Share
- accepted / - tried
Implement SmallerThan<A, B>
to compare two positive integers.
type A = SmallerThan<0, 1> // truetype B = SmallerThan<1, 0> // falsetype C = SmallerThan<10, 9> // false
- accepted / - tried
Implement SmallerThan<A, B>
to compare two positive integers.
type A = SmallerThan<0, 1> // truetype B = SmallerThan<1, 0> // falsetype C = SmallerThan<10, 9> // false