summaryrefslogtreecommitdiff
path: root/lib/std/traits.myr
blob: 3c69fed8022cac837eff65d43e0e582394459b15 (plain)
1
2
3
4
5
6
7
8
9
pkg std =
	trait equatable @a =
		eq	: (a : @a, b : @a -> bool)
	;;

	trait hashable @a =
		hash	: (a : @a -> uint64)
	;;
;;