Future of string lambda functions/string predicate functions

Manu turkeyman at gmail.com
Wed Aug 14 08:10:28 PDT 2013


I like the direction this thread is going :)


On 15 August 2013 00:50, Mr. Anonymous <mailnew4ster at gmail.com> wrote:

> On Wednesday, 14 August 2013 at 14:36:25 UTC, H. S. Teoh wrote:
>
>> A computer doesn't mind if its programs are put to purposes that don't
>> match their names. -- D. Knuth
>>
>
> Heh :)
> Sometimes I read your replies just for the signature.
>
> On the topic, I think the variant with the operators is more
> straightforward, e.g.:
>
>>         less            // a < b
>>
> op!"<"
>
>>         less!(5)        // a < 5
>>
> op!"<"(5)
>
> etc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130815/8da26216/attachment.html>


More information about the Digitalmars-d mailing list