std.range.equal or == in isPalindrome

Per Nordlöw" <per.nordlow at gmail.com> Per Nordlöw" <per.nordlow at gmail.com>
Tue Feb 18 03:41:00 PST 2014


On Tuesday, 18 February 2014 at 11:39:12 UTC, Per Nordlöw wrote:
> On Tuesday, 18 February 2014 at 10:47:33 UTC, bearophile wrote:
>> Stanislav Blinov:
>>
>>> Range interface should be minimal.
>>
>> I agree. But I didn't mean to ask for that operator in the 
>> Range protocol. I think some ranges should define a ~ 
>> operator. It's easy to write a "chainable" trait. I did that 
>> for my nonstandard D1 library.
>>
>> Bye,
>> bearophile
>
> Could you post the isChainable trait?
>
> I'm curious :)
>
> /Per

Ahh, I guess you mean

http://forum.dlang.org/thread/bug-6043-3@http.d.puremagic.com%2Fissues%2F

/Per


More information about the Digitalmars-d-learn mailing list