shithub: mc

ref: aae6d00697e8b2c4e887aa225eb102b7f88358af
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
	}
;;