ref: 58633cbf5d7bbbf095787b7b01b6ad6b032def3c
dir: /test/gtrait.myr/
use std
trait comparable @a =
cmp : (a : @a, b : @a -> std.order)
;;
impl comparable @a :: numeric @a =
cmp = {a, b
-> std.numcmp(a, b)
}
;;
const main = {
std.put("{}", cmp(1, 2))
}