> 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 ^^.

2010/12/15 Brent Yorgey <byorgey@seas.upenn.edu>
On Wed, Dec 15, 2010 at 02:52:11PM +0100, Yves Parès wrote:
> Hello Café,
>
> So is it viable or would the use of multiple infinite lists kill the
> performances?

Sounds perfectly reasonable to me.  I don't see any reason why using
multiple infinite lists would have anything to do with the performance
of your program -- unless you do something silly like try to compute
their length. =)

-Brent

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe