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

Russel Winder russel at winder.org.uk
Wed May 8 13:20:27 UTC 2019


On Wed, 2019-05-08 at 11:56 +0000, Alex via Digitalmars-d-learn wrote:
> 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.

I think there is an individual element to this, and what people are
used to. However I have taken John's request and changed the line he
wanted changed.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20190508/0dd5df19/attachment.sig>


More information about the Digitalmars-d-learn mailing list