shithub: mc

ref: d4fac4da419b09f014c27b0f4334f1c8f4314faf
dir: /lib/std/sleq.myr/

View raw version
use "types"
use "memops"

pkg std =
	generic sleq	: (a : @a[:], b : @a[:] -> bool)
;;

generic sleq = {a, b
	if a.len == b.len
		-> memeq((a : byte#), (b : byte#), a.len)
	else
		-> false
	;;
}