code: purgatorio

ref: db3b70f1424dfd8c5ea45206790df066c53bfab0
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;
		};
};