On Thu, Apr 3, 2008 at 10:35 PM, Bryan O'Sullivan <[EMAIL PROTECTED]>
wrote:

>
> It's not an infinite list.  It's a list of length maxBound::Int, as
> required by the fact that take's first argument is an Int.  The second
> argument is probably defaulting to Integer.
>
>
Right! The first arg of "take" makes the first list into a int list. I did
not wait long enough to see the end of the list and I'm so used to represent
infinite lists with [0..] that I didn't think it could be limited.

Thanks for the explanation!

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

Reply via email to