ref: 1efff8a755b22b20bec7c671c25a63825cfd90f1
dir: /test/traitimpl.myr/
use std
trait frobable @a =
frob : (val : @a -> @a)
;;
impl frobable int =
frob = {val
-> val * 2
}
;;
generic foo = {x : @a::frobable
-> frob(x)
}
const main = {
std.exit(foo(12))
}