Isn't `each` too much of a good thing?
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Sep 17 18:50:05 UTC 2020
On Thu, Sep 17, 2020 at 02:41:09PM -0400, Andrei Alexandrescu via Digitalmars-d wrote:
> On 9/17/20 1:56 PM, Avrina wrote:
> > `reduce` does support static arrays btw.
>
> Somebody shoot me.
BANG.
:-P
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...)
T
--
Маленькие детки - маленькие бедки.
More information about the Digitalmars-d
mailing list