FUNCTIONAL PEARLS Power Series, Power Serious

M. D. McIlroy · 1998

Power series and stream processing were made for each other. Stream algorithms for power series are short, sweet, and compositional. Their neatness shines through in Haskell, thanks to pattern-matching, lazy lists, and operator overloading. In a short compass one can build working code from ground zero (scalar operations) up to exact calculation of generating functions and solutions of di! erential equations.

Read the paper · More papers on PaperTik