shithub: mc

ref: 1f645d217c2faf9cd08b5f4910ca10479821b434
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)
	;;
;;