shithub: mc

ref: 4696e9dc4fda1400c881f2177183da3b024633f1
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)
	;;
;;