series

Alastair David Reid [email protected]
16 Aug 2001 16:43:51 -0600


> hello, i just want to ask a simple question: does somebody have or
> know where to find a haskell program that calculates the number e,
> that is the list of infinite digits?

Hugs includes such a function in its demos.
Look at eFactBase in the file hugs98/demos/Examples.hs
There's a lot of other functions that exploit lazy lists in that file.

-- 
Alastair Reid        [email protected]        http://www.cs.utah.edu/~reid/