shithub: mc

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