Future of string lambda functions/string predicate functions

bearophile bearophileHUGS at lycos.com
Tue Aug 6 02:51:06 PDT 2013


Jakob Ovrum:

> What does everyone think?

In this page:
http://dlang.org/phobos/std_algorithm.html

There is written:
bool isSorted(alias less = "a < b", Range)(Range r);

If you remove string lambdas, how is that signature?


My opinion is that lambdas are more clean, and I usually prefer 
them, but in certain situations I prefer string lambdas.

So my vote is -0.

Bye,
bearophile


More information about the Digitalmars-d mailing list