Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-15 Thread Ian Lynagh
On Sun, Mar 15, 2009 at 10:49:20PM +, Ingmar Vanhassel wrote: > > > > http://www.haskell.org/ghc/dist/6.10.2-rc1/ > > Could you add a testsuite tarball too please? There's already one there. Thanks Ian ___ Glasgow-haskell-users mailing list

Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-15 Thread Ingmar Vanhassel
On Sun, Mar 15, 2009 at 03:51:42PM +, Ian Lynagh wrote: > > We are pleased to announce the first release candidate for GHC 6.10.2: > > http://www.haskell.org/ghc/dist/6.10.2-rc1/ > > This includes two source bundles: > > ghc-6.10.1.20090314-src.tar.bz2 > ghc-6.10.1.20090314-src-

Re: ghci finding include files exported from other packages?

2009-03-15 Thread Conal Elliott
Thanks for the clarification, Duncan. Seems an easy partial solution would be a single pass (before CPP) that notices just the #include directives. Consult the package database to find those packages. That route would find direct includes but not indirect ones. An optional and still-easy next st

Re: ghci finding include files exported from other packages?

2009-03-15 Thread Duncan Coutts
On Sun, 2009-03-15 at 09:13 -0700, Conal Elliott wrote: > That did it. I've added ":set -package applicative-numbers" to > my .ghci and am back in business. Thanks! > > IIUC, there's an inconsistency in ghci's treatment of modules vs > include files, in that modules will be found without -packag

RE: Link errors

2009-03-15 Thread Lingappan, Loganathan
Great! This works! Thanks a lot, Logo From: Brandon S. Allbery KF8NH [mailto:allb...@ece.cmu.edu] Sent: Sunday, March 15, 2009 6:13 PM To: Lingappan, Loganathan Cc: Brandon S. Allbery KF8NH; glasgow-haskell-users@haskell.org Subject: Re: Link errors On 2009 Mar 15

Re: ghci finding include files exported from other packages?

2009-03-15 Thread Conal Elliott
That did it. I've added ":set -package applicative-numbers" to my .ghci and am back in business. Thanks! IIUC, there's an inconsistency in ghci's treatment of modules vs include files, in that modules will be found without -package, but include files won't. Room for improvement, perhaps. - C

Re: Link errors

2009-03-15 Thread Brandon S. Allbery KF8NH
On 2009 Mar 15, at 11:59, Lingappan, Loganathan wrote: FindBBUsage.o:fake:(.text+0x44d): undefined reference to `__stginit_regexzmposixzm0zi72zi0zi3_TextziRegexziPosix_' collect2: ld returned 1 exit status Either use "ghc --make" or "ghc -package regex-posix". The former is preferred. -

Link errors

2009-03-15 Thread Lingappan, Loganathan
Hi, If I include import Text.Regex.Posix ((=~)) into a Haskell code, I get the following link error: FindBBUsage.o:fake:(.text+0x44d): undefined reference to `__stginit_regexzmposixzm0zi72zi0zi3_TextziRegexziPosix_' collect2: ld returned 1 exit status Any ideas on how to fix this? I am using G

ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-15 Thread Ian Lynagh
We are pleased to announce the first release candidate for GHC 6.10.2: http://www.haskell.org/ghc/dist/6.10.2-rc1/ This includes two source bundles: ghc-6.10.1.20090314-src.tar.bz2 ghc-6.10.1.20090314-src-extralibs.tar.bz2 Only the first of these is necessary. The "extralibs" packa

Re: ghci finding include files exported from other packages?

2009-03-15 Thread Duncan Coutts
On Sat, 2009-03-14 at 23:43 -0700, Conal Elliott wrote: > The applicative-numbers package [1] provides an include file. With > ghci, the include file isn't being found, though with cabal+ghc it is > found. > > My test source is just two lines: > > {-# LANGUAGE CPP #-} > #include "ApplicativeNume