shithub: mc

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