Can't chain reduce(seed, range)
Yuxuan Shui via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Aug 30 18:31:58 PDT 2015
Why is reduce defined as 'auto reduce(S, R)(S seed, R r)',
instead of reduce(R r, S seed)? I can't chain it.
Maybe provide both?
More information about the Digitalmars-d-learn
mailing list