Compiler/Phobos/Types problem — panic level due to timing.

Alex sascha.orlov at gmail.com
Wed May 8 11:56:39 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?

For example, It is more readable, as the order of execution is 
unwinded.


More information about the Digitalmars-d-learn mailing list