code: purgatorio

ref: 654935ba71201d7215d9fcd96181a330ec6ff617
dir: /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;
		};
};