[Haskell] Power series in a nutshell

Doug McIlroy doug at cs.dartmouth.edu
Thu Jul 12 12:49:51 EDT 2007


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.

Doug McIlroy


More information about the Haskell mailing list