shithub: mc

ref: 0d83a6a075ac5027ab6e2d7d246bc3f57ce588e4
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)
	;;
;;