shithub: mc

ref: 2c113af58d9f63bc4f720adbb6aa8ac2cae52781
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)
	;;
;;