Re: Bugs with GADTs in GHC6.4.1

2005-12-12 Thread Andres Loeh
The attached script induces panic in GHC6.4.1: ghc-6.4.1: panic! (the `impossible' happened, GHC version 6.4.1): applyTypeToArgs f{v a1Eg} x{v a1Ei}. I think this is related to a known bug, because the same workaround helps -- annotate the f and x arguments in the last line of your program

Re: bug in GADT typechecking

2005-11-28 Thread Andres Loeh
{-# OPTIONS_GHC -fglasgow-exts #-} module Main where data Foo a b where Foo :: Int - Foo a b data Patch a b where PP :: Foo a b - Patch a b Lis :: PL a b - Patch a b data PL a b where U :: Patch a b - PL a b Nil :: PL x x (:-) :: PL c d - PL d

Re: problems building ghc 6.4.1_pre using 6.4 with multiplecabalversions installed

2005-09-13 Thread Andres Loeh
Just glancing over the patch, I can't immediately see how it works. GHC 6.4 gives priority to package modules over modules on the local search path, so Distribution.* will be taken from the installed Cabal package. However, when linking GHC you are ommitting -package Cabal, so I'd expect a

small error in building.xml

2005-08-05 Thread Andres Loeh
A recent change to the stable branch seems to have introduced a slight error in docs/building/building.xml. In line 3822, a /screen tag is missing. The version that has this bug is 1.13.2.11. Cheers, Andres ___ Glasgow-haskell-bugs mailing list

Re: exposed package exposes dependent packages

2005-04-06 Thread Andres Loeh
Our example was compiling happy. happy does not import anything from cabal-0.5 and yet it was hit by this problem. Unless we consider 'part of the program' to be all modules in all exposed packages (and all modules in 'efectively exposed' packages like util via the cabal-0.5 dep).

Re: HOpenGL buglet

2004-08-23 Thread Andres Loeh
Sven's fix that Simon M. mentioned will appear in 6.2.2 is included in the Gentoo ebuild ghc-6.2.1-r1.ebuild . If it still doesn't work with that version, please report it as a Gentoo bug on bugs.gentoo.org. Cheers, Andres ___ Glasgow-haskell-bugs

bug during documentation generation?

2003-12-18 Thread Andres Loeh
Shouldn't the attached patch be applied to the file package.mk in the GHC 6.2 build system? Explanation: I think that for the generation of the documentation the new ghc should be used, not the old one. I got the following error while compiling GHC 6.2 with OpenGL support, using the binary

problem compiling OpenGL/.../Extensions.hs with GHC version 6.0

2003-06-02 Thread Andres Loeh
, this is a change in behaviour compared to earlier versions of ghc that seems undesireable to me ... One more thing: during compilation, ghc-inplace is called with the option -Rghc-timing. I do not see it report timing-related messages, though. Best, Andres -- Andres Loeh, Universiteit Utrecht

linker error

2003-01-30 Thread Andres Loeh
Hi there, while compiling the latest Generic Haskell version I got the following linker error: UHA_Parser.o(.text+0x117f13): In function `r18Ks_entry': : undefined reference to `DataziTuple_Z94T_con_info' collect2: ld returned 1 exit status The file UHA_Parser.hs is a generated parser for the