Re: ANNOUNCE: GHC 7.2.1 Release Candidate 1

2011-07-30 Thread Manuel M T Chakravarty
Ian, The RC unfortunately doesn't build on Lion (OS X 10.7). It needs two patches I recently pushed to the master branch (and suggested to be merged into stable). They are the following patches: eb01af6ba964fe74375e461723b83597ef97155d (On OS X, use gcc-4.2 with Xcode 4 and up)

Re: Superclass Cycle via Associated Type

2011-07-30 Thread Jacques Carette
I just thought of an additional consideration regarding this part of the design space. On 25/07/2011 2:02 PM, Edward Kmett wrote: (I had said): Here is another way to look at it: when you say class LeftModule Whole m = Additive m you are closer to specifying an *instance*

Re: ANNOUNCE: GHC 7.2.1 Release Candidate 1

2011-07-30 Thread Joachim Breitner
Hi, Am Freitag, den 29.07.2011, 19:21 +0100 schrieb Ian Lynagh: Please test as much as possible; bugs are much cheaper if we find them before the release! not a bug, but still: Could we get this fix into the package: http://trac.haskell.org/haddock/ticket/176 and maybe also this flag

hsc2hs and #include

2011-07-30 Thread Evan Laforge
So when I upgrade from 6.10 to 6.12 a LONG time ago, there was a bug where hsc2hs would emit INCLUDE pragmas and ghc didn't like that. So I hacked around it with an extra grep -v step in the Makefile. I always meant to go fix it for real in hsc2hs and finally I came back to that TODO item. I

Re: possible strictness bug in profiled version of a program

2011-07-30 Thread Ian Lynagh
On Mon, Jul 25, 2011 at 06:21:16PM +0200, Peter Hercek wrote: Is it a bug? Should it be reported to the ghc trac database? Please report it and we'll take a look. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: hsc2hs and #include

2011-07-30 Thread Edward Z. Yang
This is supposed to get defined as a command line argument to the preprocessor, see compiler/main/DriverPipeline.hs. Are you saying you don't see it when you run hsc2hs? Maybe someone else is calling a preprocessor but missing some of these arguments... Edward

Re: possible strictness bug in profiled version of a program

2011-07-30 Thread Peter Hercek
On 07/30/2011 10:25 PM, Ian Lynagh wrote: On Mon, Jul 25, 2011 at 06:21:16PM +0200, Peter Hercek wrote: Is it a bug? Should it be reported to the ghc trac database? Please report it and we'll take a look. Thanks Ian It is done: http://hackage.haskell.org/trac/ghc/ticket/5363 Peter.

Re: hsc2hs and #include

2011-07-30 Thread Evan Laforge
On Sat, Jul 30, 2011 at 8:32 PM, Edward Z. Yang ezy...@mit.edu wrote: This is supposed to get defined as a command line argument to the preprocessor, see compiler/main/DriverPipeline.hs.  Are you saying you don't see it when you run hsc2hs? Maybe someone else is calling a preprocessor but

Re: hsc2hs and #include

2011-07-30 Thread Edward Z. Yang
No, I don't think this diagnosis is correct. hsc2hs is outputting preprocessor directives into hs files that GHC will then process. Inspect your .hs file, at least for me, I don't see #INCLUDE pragmas output at all, with latest hsc2hs (old versions just didn't output any ifdefs, so we'd hit the

Re: hsc2hs and #include

2011-07-30 Thread Ian Lynagh
On Sat, Jul 30, 2011 at 09:10:21PM +, Evan Laforge wrote: On Sat, Jul 30, 2011 at 8:32 PM, Edward Z. Yang ezy...@mit.edu wrote: This is supposed to get defined as a command line argument to the preprocessor, see compiler/main/DriverPipeline.hs.  Are you saying you don't see it when

RE: integer-simple

2011-07-30 Thread Chris Dornan
Hi All, I thought I may as well try the same experiment 7.2.1-RC1 on completely different hardware (a network v-server running CentOS 5 with ghc-6.12.3 installed) and indeed: ghci GHCi, version 7.2.0.20110728: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking

Re: hsc2hs and #include

2011-07-30 Thread Evan Laforge
On Sat, Jul 30, 2011 at 9:23 PM, Edward Z. Yang ezy...@mit.edu wrote: No, I don't think this diagnosis is correct.  hsc2hs is outputting preprocessor directives into hs files that GHC will then process.  Inspect your .hs file, Not for me it's not, it's putting preprocessor directives into a C