[Haskell-cafe] Infinite lists in real world programs
limestrael at gmail.com
Wed Dec 15 18:38:04 CET 2010
> 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 at 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. =)
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe