ref: 80b458a8b54bf72741c4d61a7723b0997e157fb8
dir: /test/trait.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))
}