shithub: mc

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