D2's std.algorithm

Janice Caron caron800 at googlemail.com
Wed Dec 12 10:43:49 PST 2007


On 12/12/07, Craig Black <cblack at ara.com> wrote:
> >   sort!("a > b")(array);
>
> I still prefer a syntax without double quotes.

How about

    sort!(q{a > b})(array);

? D2 rocks!



More information about the Digitalmars-d mailing list