ref: 3a49659e6d6d1d0289b7b0501eb03f23d48e828f
dir: /test/exporttrait.myr/
use std
pkg =
trait t @a
impl t int
;;
trait t @a =
frob : (v : @a -> @a)
;;
impl t int =
frob = {v
-> v*2
}
;;
/* shut up the linker: we just want to compile this. */
const main = {
}