shithub: mc

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