shithub: mc

ref: 66a472dc689c3a7b2b8f077fdf01c0dc2fdc1f7d
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)
	;;
;;