[Haskell-cafe] Why does this blow the stack?
dons at galois.com
Sat Dec 22 15:23:39 EST 2007
> On 12/21/07, Stefan O'Rear <stefanor at cox.net> wrote:
> > Because they simply aren't the same.
> Good point; thanks. That means that Don's patch could theoretically
> break some existing Haskell program:
> Prelude> length $ take 10 ([undefined ..] :: [Integer])
That's right. It makes Integer behave like the Int instance.
More information about the Haskell-Cafe