Isn't `each` too much of a good thing?
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Sep 17 20:59:23 UTC 2020
On Thu, Sep 17, 2020 at 04:19:38PM -0400, Andrei Alexandrescu via Digitalmars-d wrote:
> On 9/17/20 2:50 PM, H. S. Teoh wrote:
> > IMO, we should deprecate static array support on .reduce. (Not that
> > it really matters anymore to me; .reduce has the wrong parameter
> > order from the days before UFCS, and has been supplanted by .fold.
> > I sure hope .fold isn't stupid enough to accept static arrays...)
> Looks like it does: https://run.dlang.io/is/GiStHq
And a glance at the code reveals why: .fold uses .reduce as its
So yeah, we should deprecate static array support on .reduce.
What's an anagram of "BANACH-TARSKI"? BANACH-TARSKI BANACH-TARSKI.
More information about the Digitalmars-d