Re: [Haskell] GHC Error question

2006-12-06 Thread Norman Ramsey
> I agree that this is confusing. Here is a cut-down example: > > class C a b where > op :: a -> a > > -- f :: C a b => a -> a > f x = op x > > It doesn't get much simpler than that! Indeed not. I salaam in your general direction. > With th

'accept' behavior with an asynchronous exception inside of a 'block'

2006-12-06 Thread Cat Dancer
Chris Kuklewicz suggested I direct this question to the developers ^_^ If I use a network accept inside a block: block ( ... (clientSocket, sockAddr) <- accept serverSocket ... ) and the 'accept' unblocks a pending asynchronous exception and the exception gets thrown, does this

Re: generic ghc binary Linux (x86_64) misses libHSghc

2006-12-06 Thread Christian Maeder
Christian Maeder schrieb: > having just installed > http://www.haskell.org/ghc/dist/6.6/ghc-6.6-x86_64-unknown-linux.tar.bz2 > > it occurs that libHSghc.a is missing, but ghc-pkg lists > (ghc-6.6). I've rebuilt this binary distribution (having 38 MB now). It can be obtained from: http://www.info

Re: profiling experience

2006-12-06 Thread Kirsten Chevalier
On 12/6/06, Serge D. Mechveliani <[EMAIL PROTECTED]> wrote: What may consitute this strange CAF cost of 96% ? Kirsten Chevalier <[EMAIL PROTECTED]> wrote > I didn't look at your code all that carefully, but did you build the > GHC libraries with "-prof -auto-all"? (Not just "-prof".) If you don'

Re: % of memory "unit" to heap-controlling RTS flags

2006-12-06 Thread Ian Lynagh
On Mon, Dec 04, 2006 at 01:15:16PM +0300, Bulat Ziganshin wrote: > Monday, December 4, 2006, 4:19:45 AM, you wrote: > > > and -H to (say) 25% of physical RAM. > > i had exactly the same idea. in particular, i want to setup -c value > as percentage of available RAM I've added these suggestions to

Re: large source for `bugs' e-list

2006-12-06 Thread Christian Maeder
goto http://hackage.haskell.org/trac/ghc login with guest/guest and add a "New Ticket". There you can upload a large archive. Christian (a non-list administrator) Serge D. Mechveliani schrieb: > Dear GHC lists administrators, > > Is this appropriate to send to glasgow-haskell-bugs@haskell.org

large source for `bugs' e-list

2006-12-06 Thread Serge D. Mechveliani
Dear GHC lists administrators, Is this appropriate to send to glasgow-haskell-bugs@haskell.org a large source archive of 800 Kb to build an example ? The code has several SCC marks, and maybe someone could look into why ghc-6.6 profiling reports such strange numbers, or explain why they are not

profiling experience

2006-12-06 Thread Serge D. Mechveliani
People, I describe below my small experience with the time profiling in ghc-6.6. To make sure, consider first the following simple example: --- import List (sort) main = {-# SCC "main" #-} let n = 5*10^4 :: Int in putSt