Impressed

Simen Kjaeraas simen.kjaras at gmail.com
Fri Jul 27 00:27:55 PDT 2012


On Fri, 27 Jul 2012 05:24:08 +0200, Nick Sabalausky  
<SeeWebsiteToContactMe at semitwist.com> wrote:

>> foreach(i; recurrence!(a => a[n-1] + 2)(0))
>
> Erm, should be:
> foreach(i; recurrence!"a[n-1] + 2"(0))

or just
foreach(i; recurrence!((a,n) => a[n-1] + 2)(0))

-- 
Simen


More information about the Digitalmars-d mailing list