Functional Sort

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 14 16:33:10 PST 2014


Is there a functional variant of std.algorithm.sort, say sorted, 
that returns a sorted copy of its input use typically as

     const y = x.sorted;

?

If not any recommendations on its implementation?


More information about the Digitalmars-d-learn mailing list