shithub: purgatorio

ref: 8a788aea84aad3bfbd5b39d78c1925654f3b9e14
dir: purgatorio/module/sort.m

View raw version
Sort: module {
	PATH: con "/dis/lib/sort.dis";
	sort: fn[S, T](s: S, a: array of T)
		for{
		S =>
			gt: fn(s: self S, x, y: T): int;
		};
};