shithub: mc

ref: 6565eb50cfcc4e11ed5e350cdae30dc861dc0a8e
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 = {
}