Re: [Haskell-cafe] Re: change in overlapping instance behavior between GHC 6.12 and GHC 7 causes compilation failure

2010-11-09 Thread Neil Brown
I'm not sure whether to reply to the list(s) or the ticket; maybe if you think my comments are valid they can be copied to the ticket. From looking, it seems to me that you do have overlapping instances, and I wonder if it's actually a 6.12 bug for accepting the code, not a 7 bug for rejecting

Re: [Haskell-cafe] Re: change in overlapping instance behavior between GHC 6.12 and GHC 7 causes compilation failure

2010-11-09 Thread Neil Brown
On 09/11/10 11:53, Neil Brown wrote: XMLGenerator.lhs:64:16: Overlapping instances for EmbedAsChild (IdentityT IO) (XMLGenT m (XML m)) arising from a use of `asChild' at XMLGenerator.lhs:64:16-22 Matching instances: instance [overlap ok] (

GHC, CPP and stringize

2009-10-30 Thread Neil Brown
Hi, The GHC manual says that if you pass -cpp to GHC, it runs the C preprocessor, "cpp" on your code before compilation (http://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html#c-pre-processor). But why, in that case, does stringize not seem to work when the -cpp flag is

6.12.1 Release Candidate: profiling and libHSffi_p.a

2009-10-16 Thread Neil Brown
Hi, I tried profiling a program with the GHC 6.12 release candidate. I got this: $ ghc -O1 -prof -auto-all --make CommsTime.hs [1 of 1] Compiling Main ( CommsTime.hs, CommsTime.o ) Linking CommsTime ... /usr/bin/ld: cannot find -lHSffi_p collect2: ld returned 1 exit status Googli

Re: Attempts to install libraries with GHC 6.12.1rc1

2009-10-13 Thread Neil Brown
Simon Marlow wrote: network is one of those packages that has a configure script, but the configure script is generated by autoconf from configure.ac, so it is not stored in the darcs repository. When you get the network package from darcs, you need to $ autoreconf $ runhaskell Setup confi

Attempts to install libraries with GHC 6.12.1rc1

2009-10-13 Thread Neil Brown
Hi, I downloaded the new GHC release candidate. It compiled and installed first time, which was great. However, this is not true of all the libraries. I'm posting here in the hope that it helps other users trying to get it to work, or library maintainers to see what breaks in the new compi