shithub: mc

ref: 186c4e4026e1d9db729153e185bd717377060926
dir: /test/exporttrait.myr/

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