Re: Strange performance effects with unsafePerformIO

2011-03-25 Thread Sebastian Fischer
2011/3/25 Thomas Schilling nomin...@googlemail.com: unsafePerformIO traverses the stack to perform blackholing.  It could be that your code uses a deep stack and unsafePerformIO is repeatedly traversing it.  Just a guess, though. Sounds reasonable. Here is a variant of the program without

Re: ghc fails with HOME not set, fixing right now

2011-03-25 Thread Christian Maeder
ghc should not fail if HOME is not set. It certainly cannot look up local packages then, but ghc should work without those, too. ghc is a compiler like gcc. Does gcc need HOME? Cheers Christian Am 25.03.2011 08:26, schrieb Joachim Breitner: Hi, new FTBFS coming up: ghc fails if HOME is not

Re: Strange performance effects with unsafePerformIO

2011-03-25 Thread Simon Marlow
On 25/03/2011 08:56, Sebastian Fischer wrote: 2011/3/25 Thomas Schillingnomin...@googlemail.com: unsafePerformIO traverses the stack to perform blackholing. It could be that your code uses a deep stack and unsafePerformIO is repeatedly traversing it. Just a guess, though. Sounds reasonable.

Re: ghc fails with HOME not set, fixing right now

2011-03-25 Thread Simon Marlow
On 25/03/2011 09:28, Christian Maeder wrote: ghc should not fail if HOME is not set. It certainly cannot look up local packages then, but ghc should work without those, too. ghc is a compiler like gcc. Does gcc need HOME? Does gcc have a package database? :-) Of course, GHC should work

RE: Issue with SrcSpan of AbsBinds

2011-03-25 Thread Simon Peyton-Jones
I don't think anyone has really looked at those SrcSpans before. I'm fixing... Simon | -Original Message- | From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell- | users-boun...@haskell.org] On Behalf Of JP Moresmau | Sent: 18 March 2011 13:52 | To: