On Wed, Mar 18, 2009 at 10:55 PM, Zachary Turner <[email protected]>wrote:

> Regarding the "black hole detection", is GHCI supposed to exit after
> printing <loop>?  Or is just supposed to print <loop> then return to a GHCI
> prompt?  Here's a transcript:
>
> C:\Documents and Settings\Zach>ghci
> GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer ... linking ... done.
> Loading package base ... linking ... done.
> Prelude> let f x = let p = x*x in let p = x*p in p
> Prelude> f 7
>
> C:\Documents and Settings\Zach>


Hmm, that's weird.  I note that here on linux, this expression gobbles up
memory like nobody's business.  Maybe it's being killed for eating too
much?  (I dunno)

Luke
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to