RFC on SlidingSplitter Range

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 3 10:06:39 PDT 2014


On Friday, 3 October 2014 at 16:32:24 UTC, monarch_dodra wrote:
> If anything, I'd have expected you to provide something returns 
> the popped element. What you do pops an element, and then 
> returns the *next* one. What good is that?

My mistake. It's fixed now.

> Also, what you want to check is "hasSlicing", which is more 
> powerful than "isRA". Speaking of which, if you don't have 
> "isRA", it looks like your range errors out (no "front").

Ok. Fixed know.

> Your sliding splitter does not handle narrow strings. I'd have 
> thought that was the original goal. Well, it is better to not 
> support it at all of course, rather than doing it wrong :)

That's part of episode 2, for now ;)


More information about the Digitalmars-d-learn mailing list