Literan/constant ranges
Panke via Digitalmars-d
digitalmars-d at puremagic.com
Sun Apr 26 00:28:36 PDT 2015
On Sunday, 26 April 2015 at 06:43:22 UTC, Manu wrote:
> Man, I suck so hard at navigating the std library! Practically
> nothing
> is named anything I expect or am familiar with >_<
> It shouldn't be easier to write my own than to find what I want
> in the lib.
>
> There are some differences though; repeat() is not a literal,
> and
> repeats infinitely, which means you need to conjoin take(n),
> which
> leads to a long and less-readable line.
There is a second overload.
More information about the Digitalmars-d
mailing list