Is there any news about issue 5710?

Tejas notrealemail at gmail.com
Wed Sep 21 02:42:02 UTC 2022


On Tuesday, 20 September 2022 at 20:29:21 UTC, Sebastiaan Koppe 
wrote:
> On Tuesday, 20 September 2022 at 16:04:25 UTC, Vladimir 
> Panteleev wrote:
>> On Monday, 19 September 2022 at 16:27:21 UTC, victoroak wrote:
>>> [...]
>>
>> I think the issue is really that D and the standard library 
>> should not have invested so much into using context-ful 
>> aliases for predicates, as they're inherently limited. 
>> Functors (which can be stateful and/or context-ful) are just 
>> better (though the D syntax isn't as good).
>>
>> https://github.com/cybershadow/ae/blob/next/utils/pred/algorithm.d
>
> Agreed. Your pred looks a lot like lambdas that capture by 
> value.
>
> As for ranges, they should be redesigned because of the priming 
> problem (and others).

I'm sorry, what is the priming problem? Google isn't helping 😓

And what are the other problems with ranges?


More information about the Digitalmars-d mailing list