shithub: mc

ref: 847f11bb87ebfa7e4de48c05d65c83758d9220e1
dir: /lib/std/traits.myr/

View raw version
pkg std =
	trait equatable @a =
		eq	: (a : @a, b : @a -> bool)
	;;

	trait hashable @a =
		hash	: (a : @a -> uint64)
	;;
;;