shithub: mc

ref: 099d9cb114e45459527515d955e85ef620024dbd
dir: /test/exporttrait.myr/

View raw version
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 = {
}