improving error messages

2006-10-21 Thread Bulat Ziganshin
Hello glasgow-haskell-users, as you may remember, in GHC survey awkward error messages was named as one of most serious GHC drawbacks. i propose to start collecting examples of bad error messages together with what we want to see in these cases. as first contribution, i've added this text as

Re: Concurrency issue with dynamic linker in GHC

2006-10-21 Thread Bulat Ziganshin
Hello Vyacheslav, Saturday, October 21, 2006, 7:37:19 AM, you wrote: I am running ghc 6.4.2 on a Win32 machine. I'm using hs-plugins in one thread and a simple getLine loop in another. It appears that getLine blocks the hs-plugins thread on Win32 (this has been verified to work fine on

Re[2]: Concurrency issue with dynamic linker in GHC

2006-10-21 Thread Bulat Ziganshin
Hello Bulat, Saturday, October 21, 2006, 12:56:48 PM, you wrote: use 'vGetLine fdStdIn' in order to read lines. you should strip sorry, use do h - bufferBlockStream fdStdIn vGetLine h vGetLine h ... -- Best regards, Bulatmailto:[EMAIL PROTECTED]

Re: Concurrency issue with dynamic linker in GHC

2006-10-21 Thread Donald Bruce Stewart
bulat.ziganshin: Hello Vyacheslav, Saturday, October 21, 2006, 7:37:19 AM, you wrote: I am running ghc 6.4.2 on a Win32 machine. I'm using hs-plugins in one thread and a simple getLine loop in another. It appears that getLine blocks the hs-plugins thread on Win32 (this has been

Re: Re[4]: Benchmarking GHC

2006-10-21 Thread Neil Mitchell
Hi So to summarise this thread compile with -O2, unless you want to start looking at specific programs and checking how the flags perform etc. Thanks, Neil On 10/20/06, Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello Simon, Friday, October 20, 2006, 3:12:29 PM, you wrote: -O2

Installing a library

2006-10-21 Thread jim burton
A very basic question re using GHC 6.4.1 on ubuntu linux - how do I go about installing a library? I want to install HUnit and suspected that /usr/lib/haskell-packages/ghc6/lib would be the place to untar it (into the dir HUnit-1.0), but that doesn't work. I was reluctant to move the contents of

Re: Installing a library

2006-10-21 Thread Bulat Ziganshin
Hello jim, Saturday, October 21, 2006, 12:39:22 AM, you wrote: A very basic question re using GHC 6.4.1 on ubuntu linux - how do I go about installing a library? I want to install HUnit and suspected that these days, all the main libs are cabalized that means that they have the same

Re: Benchmarking GHC

2006-10-21 Thread Arjen van Weelden
John Meacham wrote: On Fri, Oct 20, 2006 at 10:38:39AM +0100, Simon Marlow wrote: I'm not sure that -funbox-strict-fields always improves performance, even if you only do it on Ints for example. If you end up pulling out those fields and passing the Int to a lazy function, the Int will be

Re[2]: Concurrency issue with dynamic linker in GHC

2006-10-21 Thread Bulat Ziganshin
Hello Donald, Saturday, October 21, 2006, 1:03:34 PM, you wrote: I am running ghc 6.4.2 on a Win32 machine. I'm using hs-plugins in one Oh, that's almost certainly it. Bulat++ It's blocking on the foreign call (into the linker), since there's no IO manager thread, I think. can't you

Re: Concurrency issue with dynamic linker in GHC

2006-10-21 Thread Donald Bruce Stewart
bulat.ziganshin: Hello Donald, Saturday, October 21, 2006, 1:03:34 PM, you wrote: I am running ghc 6.4.2 on a Win32 machine. I'm using hs-plugins in one Oh, that's almost certainly it. Bulat++ It's blocking on the foreign call (into the linker), since there's no IO manager thread,