[Haskell-cafe] Infinite lists in real world programs

Brent Yorgey byorgey at seas.upenn.edu
Wed Dec 15 18:49:42 CET 2010


On Wed, Dec 15, 2010 at 06:38:04PM +0100, Yves Parès wrote:
> > try to compute their length
> 
> Yes ^^, that's silly.
> 
> > I don't see any reason why using multiple infinite lists would have
> anything to do with the performance
> 
> That's comforting. Well, it seems to be a very simple, haskellish and
> elegant solution, so basic pragmatism -- with an slice of pessimism -- tells
> it was too good too be true ^^.

Premature pessimism is the root of all procrastination.

-Brent



More information about the Haskell-Cafe mailing list