shithub: mc

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