Re: -fvia-C for libHSbase, etc.?

2008-06-05 Thread Simon Marlow
Donn Cave wrote: I'm building GHC on NetBSD-amd64, and among other things need to deal with the problem described in #2305 - native code misses the __RENAME (__asm) directive in NetBSD include files, and ends up linking to the wrong externals. The author of #2305 reports that -fvia-C avoids

Re: Having trouble with parallel Haskell

2008-06-05 Thread Johannes Waldmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just a metoo: a nicely working Parallel Haskell would be a very strong selling point, and I'm especially thinking of education here. If I could show to my students that just by inserting a few 'par' (or similar) annotations in the source they can

RE: Having trouble with parallel Haskell

2008-06-05 Thread Simon Peyton-Jones
| The most substantial problem is that the threaded RTS in GHC 6.8.2 is | very crashy in the face of par: about 90% of my runs fail with a | segfault or an assertion failure. Simon Marlow mentioned that this bug | is fixed, but I've been unsuccessful in building a GHC 6.8.3 release |

Re: ANNOUNCE: GHC 6.8.3 Release Candidate - MacOS X (Intel/Leopard) distribution

2008-06-05 Thread Christian Maeder
For those without root rights I've made a plain distribution that relies on gmp and readline under /opt/local/ (for 9.3.0 Darwin Kernel) http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/intel-mac/ghcs/ghc-6.8.2.20080603-i386-apple-darwin.tar.bz2 Christian Manuel M

Re: Having trouble with parallel Haskell

2008-06-05 Thread Bryan O'Sullivan
Simon Peyton-Jones wrote: There's a 6.8.3 release candidate you might be able to try. Yes, I reported a bug and Simon mentioned that it ought to be fixed already. I've been trying to build snapshots for about a week :-) b ___

Re: Having trouble with parallel Haskell

2008-06-05 Thread Simon Marlow
Bryan O'Sullivan wrote: Simon Peyton-Jones wrote: There's a 6.8.3 release candidate you might be able to try. Yes, I reported a bug and Simon mentioned that it ought to be fixed already. I've been trying to build snapshots for about a week :-) And we appreciate the bug reports. Is it

Re: Having trouble with parallel Haskell

2008-06-05 Thread Bryan O'Sullivan
Simon Marlow wrote: Is it just the Haddock 2 problem you're having now? I switched back to Haddock 0.8, and found a new problem at installation time: http://hackage.haskell.org/trac/ghc/ticket/2343 This is a change in behaviour from 6.8.2, and I'm not really sure what to do about it.

Build and runtime errors

2008-06-05 Thread Tom Cody
I've attached a log of the 'make install' on advice from Igloo. I get the following when trying to building from source with the documentation install enabled: #Hacks: /usr/bin/install -c -m 644 base/dist/doc/html/*/*.css /usr/local/share/doc/ghc/libraries /usr/bin/install: cannot stat

automatically deriving Functor Re[2]: [Haskell-cafe] automatically deriving Map and Filter on datatypes etc.

2008-06-05 Thread Bulat Ziganshin
Hello Neil, Thursday, June 5, 2008, 8:54:51 PM, you wrote: PS Why isn't Functor derivable? Derive can do it: http://www.cs.york.ac.uk/~ndm/derive I believe that Twan (the author of Functor deriving in Derive) is trying to get this suggested for Haskell' as a proper deriving. dear GHC

Re: *BSD support in 6.8.3

2008-06-05 Thread Donn Cave
On Thu, 5 Jun 2008 09:23:36 -0700 Donn Cave [EMAIL PROTECTED] wrote: ... It looks like, in base anyway, this actually goes in a .h file, to a pattern like ... ah, never mind that, I see those wrappers are not the sort I need. -- Donn Cave [EMAIL PROTECTED]

Mutually recursive modules

2008-06-05 Thread Richard Giraud
Hello I've been doing some work with mutually recursive modules (MRMs). I'm familiar with the section in the User's Guide on how to do this and have successfully worked with MRMs with simple dependencies. However, I have created a set of MRMs that I can't seem to get to compile because of

Re: Mutually recursive modules

2008-06-05 Thread Antoine Latter
On Thu, Jun 5, 2008 at 4:46 PM, Richard Giraud [EMAIL PROTECTED] wrote: Does the current {-# SOURCE #-}/.hs-boot scheme allow for compilation of arbitrary MRMs? Or are there known cases where it doesn't work? If there are cases where it doesn't work, are there other options? I don't think

Re: Mutually recursive modules

2008-06-05 Thread Isaac Dupree
Antoine Latter wrote: On Thu, Jun 5, 2008 at 4:46 PM, Richard Giraud [EMAIL PROTECTED] wrote: Does the current {-# SOURCE #-}/.hs-boot scheme allow for compilation of arbitrary MRMs? Or are there known cases where it doesn't work? If there are cases where it doesn't work, are there other