shithub: mc

ref: 59b1d9b6c40d88d3b6373993662c3bce3541f3a0
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)
	;;
;;