Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Manuel M T Chakravarty
Barney Stratford: this one built and installed fine on Mac OS X 10.6 :). Interesting, I thought there were still problems there. I assume that's a 32-bit version. The problems manifest themselves only when you compile a 64-bit GHC. That's incorrect. The 32-bit version is only partially work

Re: Should ghci understand this pthread library?

2009-10-12 Thread Maurí­cio CA
After using ghci to load a library I'm working in, I got this message: can't load .so/.DLL for: pthread (/usr/lib/libpthread.so: invalid ELF header) Sorry. Just found ticket on that issue and previous discussion. Please ignore. Thanks, Maurício

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Alexander Dunlap
When compiling, I get lots of "No such file or directory" errors. The compilation process continues, but should I be concerned about this? Alex On Sun, Oct 11, 2009 at 1:41 PM, Ian Lynagh wrote: > > Hi all, > > We are pleased to (finally!) announce the first release candidate > for GHC 6.12.1: >

Should ghci understand this pthread library?

2009-10-12 Thread Maurí­cio CA
After using ghci to load a library I'm working in, I got this message: can't load .so/.DLL for: pthread (/usr/lib/libpthread.so: invalid ELF header) Then I did 'cat /usr/lib/libpthread.so' and, much to my surprise, it's a text file with the following contents: /* GNU ld script Use th

Re: haddock problem. Was: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Duncan Coutts
On Mon, 2009-10-12 at 18:43 +0200, Christian Maeder wrote: > P.S. I wonder why "Registering" is done twice It's Cabal's fault. It's a new feature to let components within a package depend on each other. To do that it needs to register the lib into a local inplace package db. At the moment it's al

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Duncan Coutts
On Mon, 2009-10-12 at 16:04 -0400, Brent Yorgey wrote: > What's the canonical way to install a version of ghc but not have it > be the default? i.e., I'd like to try testing this release candidate > but I want to have to call it explicitly; I want 'ghc', 'ghc-pkg' > etc. to still be aliases to ghc

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Ben Franksen
Brent Yorgey wrote: > What's the canonical way to install a version of ghc but not have it > be the default? i.e., I'd like to try testing this release candidate > but I want to have to call it explicitly; I want 'ghc', 'ghc-pkg' > etc. to still be aliases to ghc-6.10.4, instead of being overwritt

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Ben Franksen
Simon Marlow wrote: > On 12/10/2009 09:04, Serge D. Mechveliani wrote: >> I have downloaded ghc-6.12.0.20091010-src.tar.bz2. >> But where to read the release notes? >> ANNOUNCE shows ``version 6.10.1'', and lists the old features. >> What is the difference of 6.12.1 w.r.to 6.10.4 ? > > Release n

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Brent Yorgey
What's the canonical way to install a version of ghc but not have it be the default? i.e., I'd like to try testing this release candidate but I want to have to call it explicitly; I want 'ghc', 'ghc-pkg' etc. to still be aliases to ghc-6.10.4, instead of being overwritten by the 6.12.1 install. -

Re: bug in 6.12.1-pre

2009-10-12 Thread Ian Lynagh
On Mon, Oct 12, 2009 at 09:31:41PM +0400, Serge D. Mechveliani wrote: > Dear GHC team, > > I tried ghc-6.12.0.20091010-src.tar.bz2 > on Linux, Debian, i386-* > And it cannot compile my Dumatel project. It fails at the segment: Great bug report, thanks. I've filed a ticket for it here: http:/

bug in 6.12.1-pre

2009-10-12 Thread Serge D. Mechveliani
Dear GHC team, I tried ghc-6.12.0.20091010-src.tar.bz2 on Linux, Debian, i386-* And it cannot compile my Dumatel project. It fails at the segment: module Bug where compose :: [a -> a] -> a -> a compose = foldr (.) id class Compose a where compose1

replace GHC 6.6 with 6.10.4 in VisualHaskell

2009-10-12 Thread Luca Ciciriello
Is there a way to use VisualHaskel with GHC 6.10.4? Luca ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: Re[4]: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Duncan Coutts
On Mon, 2009-10-12 at 19:29 +0400, Bulat Ziganshin wrote: > Hello Duncan, > > Monday, October 12, 2009, 6:58:43 PM, you wrote: > > >> also, i propose to enable +RTS -N by default. Haskell is very popular > >> as multithreaded language, don't fool novices! > > > Note that you'd also have to enabl

haddock problem. Was: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Christian Maeder
Hi, with http://darcs.haskell.org/~ghc/dist/6.12.1rc1/ghc-6.12.0.20091010-i386-unknown-linux-n.tar.bz2 installed (under /local/maeder/) I get the following "internal Haddock or GHC error". I have no file /local/maeder/lib/ghc-6.12.0.20091010/html/haddock.css but a file /local/maeder/share/doc/

Re[4]: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Bulat Ziganshin
Hello Duncan, Monday, October 12, 2009, 6:58:43 PM, you wrote: >> also, i propose to enable +RTS -N by default. Haskell is very popular >> as multithreaded language, don't fool novices! > Note that you'd also have to enable -threaded by default. This would > have other surprising effects (like b

Re: Re[2]: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Duncan Coutts
On Mon, 2009-10-12 at 13:07 +0400, Bulat Ziganshin wrote: > also, i propose to enable +RTS -N by default. Haskell is very popular > as multithreaded language, don't fool novices! Note that you'd also have to enable -threaded by default. This would have other surprising effects (like breaking most

Re: STM experiment

2009-10-12 Thread Carsten Schultz
Luca Ciciriello schrieb: > Thanks Carsten, I've compiled your example and all works as expected. > > Just a note. > If I load the module in GHCi (intead of compiling it) and launch main > function the result is quite strange. I obtain: > > He lwloorld So we actually observe the concurrency her

RE: STM experiment

2009-10-12 Thread Luca Ciciriello
Thanks Carsten, I've compiled your example and all works as expected. Just a note. If I load the module in GHCi (intead of compiling it) and launch main function the result is quite strange. I obtain: He lwloorld [(),()] Luca. > To: glasgow-haskell-users@haskell.org > From: cars..

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Simon Marlow
On 12/10/2009 13:12, Christian Maeder wrote: This new version of ghc can no longer read ISO-8859 text. Text is cut off after the first non-ascii character (ie. ¢). Is this somewhere documented? What is the recommended way to handle such text? Take a look at this: http://ghcmutterings.wordpres

Re: STM experiment

2009-10-12 Thread Carsten Schultz
Brent Yorgey schrieb: > On Fri, Oct 02, 2009 at 06:16:49PM +0200, Luca Ciciriello wrote: >> Compiling this module with: >> >> ghc --make Main.hs -o Main >> >> and launcing ./Main the result is just: >> >> Terminal> world > > Also, the reason you only get "world" here is likely because the main > t

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Christian Maeder
This new version of ghc can no longer read ISO-8859 text. Text is cut off after the first non-ascii character (ie. ¢). Is this somewhere documented? What is the recommended way to handle such text? Cheers Christian Ian Lynagh wrote: > Hi all, > > We are pleased to (finally!) announce the first

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Simon Marlow
On 12/10/2009 10:07, Bulat Ziganshin wrote: Hello Simon, Monday, October 12, 2009, 12:32:05 PM, you wrote: Release notes here, for now: http://www.haskell.org/ghc/dist/current/docs/html/users_guide/release-6-12-1.html 1. it says The following options are all described in Section 4.15.3, “R

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Barney Stratford
this one built and installed fine on Mac OS X 10.6 :). Interesting, I thought there were still problems there. I assume that's a 32-bit version. The problems manifest themselves only when you compile a 64-bit GHC. I'm still trying to get mine working - no luck yet, but will keep you posted.

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Ian Lynagh
Hi Philip, Thanks for the feedback! On Mon, Oct 12, 2009 at 12:17:15AM -0700, Philip Weaver wrote: > > > Thanks! I have been eager to try out 6.12. Unlike many of the recent > snapshots, this one built and installed fine on Mac OS X 10.6 :). Interesting, I thought there were still problems th

Re[2]: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Bulat Ziganshin
Hello Simon, Monday, October 12, 2009, 12:32:05 PM, you wrote: > Release notes here, for now: > http://www.haskell.org/ghc/dist/current/docs/html/users_guide/release-6-12-1.html 1. it says >The following options are all described in Section 4.15.3, “RTS >options to control the garbage collector

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Simon Marlow
On 12/10/2009 08:17, Philip Weaver wrote: On Sun, Oct 11, 2009 at 1:41 PM, Ian Lynagh mailto:ig...@earth.li>> wrote: Hi all, We are pleased to (finally!) announce the first release candidate for GHC 6.12.1: http://darcs.haskell.org/~ghc/dist/6.12.1rc1/

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Simon Marlow
On 12/10/2009 09:04, Serge D. Mechveliani wrote: I have downloaded ghc-6.12.0.20091010-src.tar.bz2. But where to read the release notes? ANNOUNCE shows ``version 6.10.1'', and lists the old features. What is the difference of 6.12.1 w.r.to 6.10.4 ? Release notes here, for now: http://www.has

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Serge D. Mechveliani
I have downloaded ghc-6.12.0.20091010-src.tar.bz2. But where to read the release notes? ANNOUNCE shows ``version 6.10.1'', and lists the old features. What is the difference of 6.12.1 w.r.to 6.10.4 ? Regards, - Serge Mechveliani mech...@botik.ru On Sun, Oct 11, 2009 at 09:41:

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Philip Weaver
On Sun, Oct 11, 2009 at 1:41 PM, Ian Lynagh wrote: > > Hi all, > > We are pleased to (finally!) announce the first release candidate > for GHC 6.12.1: > > > http://darcs.haskell.org/~ghc/dist/6.12.1rc1/ > > As well as the source tarball: >g