Future of string lambda functions/string predicate functions

deadalnix deadalnix at gmail.com
Tue Aug 13 21:16:14 PDT 2013


On Wednesday, 14 August 2013 at 02:05:16 UTC, Manu wrote:
> Can you give an example where you've actually used a string 
> lambda before
> where the predicate is more complex than a basic comparison?
> Surely the solution to this problem is to offer a bunch of 
> templates that
> perform the most common predicates in place of unary/binaryFun?
>
> So rather than: func!((a, b) => a < b)(args)
> You use: func!binaryLess(args)
>
> Or something like that?
>

I was unsure about the solution we should adopt until I read 
that. This is what we need.


More information about the Digitalmars-d mailing list