Re: ghc 6.7 and GADT pattern-matching

2007-08-21 Thread Conal Elliott
No big deal after all. Replacing the ($) uses with regular parenthesized application allows compilation to go through. - Conal On 8/21/07, Conal Elliott <[EMAIL PROTECTED]> wrote: > > In going from ghc-6.6 to ghc-6.7, I've lost some GADT pattern matching > that I'd really like to have back. The

ghc 6.7 and GADT pattern-matching

2007-08-21 Thread Conal Elliott
In going from ghc-6.6 to ghc-6.7, I've lost some GADT pattern matching that I'd really like to have back. The message: c:/conal/Haskell/Eros/src/gadt-example.hs:23:32: GADT pattern match in non-rigid context for `:*' Tell GHC HQ if you'd like this to unify the context In the patt

Re: change to deriving in 6.7 ??

2007-08-21 Thread Neil Mitchell
Hi > Thanks for the tips, Isaac. I fixed my Ord decl. Too bad about the > run-time time & space overhead. I guess that's not fixable. Perhaps Simon > will decide to follow Pepe's suggestion of liberal deriving when > UndecidableInstances enabled. If you implement compare, isn't everything els

Re: change to deriving in 6.7 ??

2007-08-21 Thread Conal Elliott
Thanks for the tips, Isaac. I fixed my Ord decl. Too bad about the run-time time & space overhead. I guess that's not fixable. Perhaps Simon will decide to follow Pepe's suggestion of liberal deriving when UndecidableInstances enabled. Cheers, - Conal On 8/21/07, Isaac Dupree <[EMAIL PROTECTE

Re: Runghc patch

2007-08-21 Thread Ian Lynagh
Hi Magnus, On Sun, Jul 29, 2007 at 05:55:05PM -0400, Magnus Jonsson wrote: > Previously runghc only supported "runghc -fpath-to-ghc Main.hs". > With this patch it also supports "runghc -f path-to-ghc Main.hs", as it > claims in its syntax help message. Thanks again for the patch. Contrary to wh

Re: darcs patch: Added Monoid instance for Doc

2007-08-21 Thread Ian Lynagh
Hi, On Mon, Aug 20, 2007 at 09:17:25PM +0200, [EMAIL PROTECTED] wrote: > Mon Aug 20 21:13:59 CEST 2007 [EMAIL PROTECTED] > * Added Monoid instance for Doc Thanks for the contribution! However, this change should really go through the library submissions procedure. You can find information on

Re: change to deriving in 6.7 ??

2007-08-21 Thread Isaac Dupree
Conal Elliott wrote: Thanks, Simon. The manual deriving is easier than I expected, by boilerplate delegation of constraints & methods, as below. You may want to give such an example when you document the change. Cheers, - Conal -- | Pairing of type constructors newtype (f :*: g) a = Prod {

Re: change to deriving in 6.7 ??

2007-08-21 Thread Conal Elliott
Thanks, Simon. The manual deriving is easier than I expected, by boilerplate delegation of constraints & methods, as below. You may want to give such an example when you document the change. Cheers, - Conal -- | Pairing of type constructors newtype (f :*: g) a = Prod { unProd :: (f a, g a) }

[nightly] 21-Aug-2007 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com)

2007-08-21 Thread GHC Build Reports
Build description = HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location= /playpen/ghc/nightly/HEAD-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Tue Aug 21 19:30:00 BST 2007. checki

patch applied (ghc): FIX #1427, #1569: gcc 4.2.x needs -fno-toplevel-reorder

2007-08-21 Thread Simon Marlow
Tue Aug 21 08:15:53 PDT 2007 Simon Marlow <[EMAIL PROTECTED]> * FIX #1427, #1569: gcc 4.2.x needs -fno-toplevel-reorder We now have various flags that need to be passed to gcc, but only if the local gcc version supports them. So instead of wiring this knowledge into ghc when it is built,

patch applied (ghc): we need to add utils/pwd to a binary distribution

2007-08-21 Thread Simon Marlow
Tue Aug 21 08:12:05 PDT 2007 Simon Marlow <[EMAIL PROTECTED]> * we need to add utils/pwd to a binary distribution M ./aclocal.m4 -7 +9 M ./utils/Makefile -1 +1 M ./utils/pwd/Makefile -15 +8 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org htt

patch applied (ghc): binary-dist: remove comment from the middle of a shell command

2007-08-21 Thread Simon Marlow
Tue Aug 21 07:46:41 PDT 2007 Simon Marlow <[EMAIL PROTECTED]> * binary-dist: remove comment from the middle of a shell command This appears to cause trouble in at least some shells M ./libraries/Makefile -1 ___ Cvs-ghc mailing list Cvs-ghc@hask

patch applied (ghc): Add R_X86_64_PC64 relocation support to the Linker

2007-08-21 Thread Simon Marlow
Wed Aug 8 07:57:00 PDT 2007 Clemens Fruhwirth <[EMAIL PROTECTED]> * Add R_X86_64_PC64 relocation support to the Linker M ./rts/Linker.c -5 +15 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Also build gmp shared if neccessary

2007-08-21 Thread Simon Marlow
Thu Aug 9 23:30:40 PDT 2007 Clemens Fruhwirth <[EMAIL PROTECTED]> * Also build gmp shared if neccessary M ./gmp/Makefile -28 +43 M ./rts/package.conf.in -1 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listin

patch applied (ghc): Add __PIC__ define for -fPIC compiled C code

2007-08-21 Thread Simon Marlow
Tue Aug 7 09:06:16 PDT 2007 Clemens Fruhwirth <[EMAIL PROTECTED]> * Add __PIC__ define for -fPIC compiled C code M ./compiler/main/DynFlags.hs -3 +8 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Remove unused -optdll option.

2007-08-21 Thread Simon Marlow
Tue Aug 7 07:41:24 PDT 2007 Clemens Fruhwirth <[EMAIL PROTECTED]> * Remove unused -optdll option. M ./compiler/main/DynFlags.hs -6 +1 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Link Windows DLLs and OSX dylibs correctly in linkDynLib

2007-08-21 Thread Simon Marlow
Tue Aug 7 07:40:18 PDT 2007 Clemens Fruhwirth <[EMAIL PROTECTED]> * Link Windows DLLs and OSX dylibs correctly in linkDynLib M ./compiler/main/DriverPipeline.hs -18 +54 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/

Re: Yhc Buildbots on darcs.haskell.org

2007-08-21 Thread Ian Lynagh
On Mon, Aug 06, 2007 at 06:30:55PM +0100, Neil Mitchell wrote: > > The Yhc buildbots have been very useful over time, and we certainly > can't live without them. Unfortunately the person who has admin access > is no longer working in our department, so slowly they are starting to > break, since we

daily reports and windows head..

2007-08-21 Thread Claus Reinke
does anyone see a pattern here?-) :-( 21 August 2007 08:30 x86 Windows head: fail (failed darcs) x86 Windows head fast: fail (failed stage1) fail (failed stage1) fail (failed stage1) fail (failed stage1) fail (failed stage1) 20 August 2007 08:30 x86 Windows head fast:

patch applied (ghc): Make ghc-inplace return GHC's exitcode on Windows

2007-08-21 Thread Ian Lynagh
Tue Aug 21 03:10:28 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> * Make ghc-inplace return GHC's exitcode on Windows M ./compiler/ghc-inplace.c -1 +7 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Remove odd recursive call in the driver/ghci Makefile

2007-08-21 Thread Ian Lynagh
Tue Aug 21 01:59:37 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> * Remove odd recursive call in the driver/ghci Makefile I'm not sure why this was here, but it makes ghci.o get built twice on Windows, which can cause the build to fail if it tries to link it in the middle. M ./driver/ghci/M

patch applied (ghc): Fix quoting of double quotes in the Makefile on Windows

2007-08-21 Thread Ian Lynagh
Mon Aug 20 16:52:21 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> * Fix quoting of double quotes in the Makefile on Windows M ./compiler/Makefile -2 +13 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

patch applied (ghc): Fix ghc-inplace.c on Windows; new code based on ghci.c

2007-08-21 Thread Ian Lynagh
Mon Aug 20 15:27:01 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> * Fix ghc-inplace.c on Windows; new code based on ghci.c M ./compiler/Makefile -2 +6 M ./compiler/ghc-inplace.c -2 +124 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskel

patch applied (ghc): put CmmReturnInfo into a CmmCall (and related types)

2007-08-21 Thread nr
Mon Aug 20 12:54:41 PDT 2007 Norman Ramsey <[EMAIL PROTECTED]> * put CmmReturnInfo into a CmmCall (and related types) M ./compiler/cmm/Cmm.hs -1 +2 r3 M ./compiler/cmm/CmmBrokenBlock.hs -12 +13 M ./compiler/cmm/CmmCPS.hs -3 +3 M ./compiler/cmm/CmmCPSGen.hs -6 +8 M ./compiler

Daily report for head

2007-08-21 Thread BuildBot Collator
Build results: x86-64 Linux head: lost x86 Windows head: fail (failed darcs) x86 Windows head fast: fail (failed stage1) fail (failed stage1) fail (failed stage1) fail (failed stage1) fail (failed stage1) gbesh Intel x86_64 Linux head: pass mnemosyne x86-64 Gentoo