On Saturday, July 6, 2019 12:58:52 PM MDT Adam D. Ruppe via Digitalmars-d- learn wrote: > On Saturday, 6 July 2019 at 18:17:26 UTC, Jonathan M Davis wrote: > > take _always_ consumes the range that it's given > > not if it hasSlicing. see > http://dpldocs.info/experimental-docs/source/std.range.d.html#L2015 > > but yeah otherwise i agree with you
True enough, though if the code is generic, it still pretty much has to assume that the range was consumed. - Jonathan M Davis