Compiler/Phobos/Types problem — panic level due to timing.
John Colvin
john.loughran.colvin at gmail.com
Thu May 9 08:33:02 UTC 2019
On Wednesday, 8 May 2019 at 11:53:34 UTC, Russel Winder wrote:
> On Mon, 2019-05-06 at 15:53 +0000, John Colvin via
> Digitalmars-d-learn wrote:
>> […]
>>
>> pretty please show people it with UFCS:
>>
>> recurrence!((a, n) => a[n-1] + a[n-2])(zero, one)
>> .dropExactly(n)
>> .front
>
> Any particular reason for preferring this form over the
> original?
Not big benefit in this case, very big benefit with longer chains.
It reads in the order of operations, as opposed to inside out.
More information about the Digitalmars-d-learn
mailing list