ref: 6e2e105c4be18083d58464b8da6a59b0476b96c4
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 = {
}