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