ch-ch-update: series, closed-form series, and strides

Brian Palmer d at brian.codekitchen.net
Sat Jan 31 09:43:59 PST 2009


Andrei Alexandrescu Wrote:

> bearophile wrote:
> > Andrei Alexandrescu:
> SPJ held a gun to my head and said: "take(10, fib)".
> 
> Andrei

Yeah, but in Haskell they say "take 10 fib" because of partial function application, it's important to decide which parameter is most likely to be useful in the last positions even if it doesn't read as well. That doesn't apply in D, unless you and Walter have been working even more magic behind the scenes that you haven't talked about yet. ;)



More information about the Digitalmars-d mailing list