[Haskell] Power series in a nutshell

Derek Elkins derek.a.elkins at gmail.com
Thu Jul 12 18:05:27 EDT 2007


On Thu, 2007-07-12 at 12:49 -0400, Doug McIlroy wrote: 
> For lovers of things small and beautiful,
> http://www.cs.dartmouth.edu/~doug/powser.html
> boils down basic operations on power series with numeric
> coefficients to the bare minimum--each is a one-liner.
> Included are overloaded arithmetic operators, integration,
> differentiation, functional composition, functional inverse
> and coercion from scalars. --A telling demonstration of the
> power of lazy evaluation and of Haskell's attunement to math.

and a link to your earlier Functional Pearl,
http://citeseer.ist.psu.edu/mcilroy98power.html



More information about the Haskell mailing list