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.

Reply via email to