ref: c3d4ae24b48ae6f7ed07a34afa0eb7b709b4f103
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))
}