[***SPAM***] [04.0] Re: -- help needed in packaging ghc-6.8.1

2007-11-07 Thread Andrea Rossato
On Wed, Nov 07, 2007 at 11:34:53AM +0100, Reinier Lamers wrote: > Great! However, why don't you submit your packages to > http://www.linuxpackages.org/? That's where I always look for contributed > Slackware packages. I also packaged Hugs for them. Yes, this is an option. The 6.6.1 was not co

Re: -- help needed in packaging ghc-6.8.1

2007-11-07 Thread Reinier Lamers
Andrea Rossato wrote: Hi! I'm trying to maintain a Haskell tool chain for the Slackware GNU/Linux distribution,[1] which is lacking any Haskell support. Great! However, why don't you submit your packages to http://www.linuxpackages.org/? That's where I always look for contributed Slackware p

-- help needed in packaging ghc-6.8.1

2007-11-07 Thread Andrea Rossato
Hi! I'm trying to maintain a Haskell tool chain for the Slackware GNU/Linux distribution,[1] which is lacking any Haskell support. The problem is that I'm having some issue in getting the documentation properly built. I must confess I'm not quite familiar with GNU autoconf so please pardon me if

-- Re: [***SPAM***] [04.0] Re: -- help needed in packaging ghc-6.8.1

2007-11-07 Thread Andrea Rossato
On Wed, Nov 07, 2007 at 11:51:26AM +0100, Andrea Rossato wrote: > This is the way I go (well I actually prefer [cut] > recently, and then build my own). don't say slack WHAT?? builds dot org aloud, otherwise spamassasin is going to kill you... I wonder if it was spamassasin that added those 2 - t

Re: GHC 6.8.1 on Mac OS X 10.5 (Leopard)

2007-11-07 Thread Don Stewart
It seems 10.5/PPC/6.8 is currently a lethal combination. (not x86 though, nor 10.4/ppc). Here's the ticket, add yourself to the CC list. http://hackage.haskell.org/trac/ghc/ticket/1843 haskell: > I ultimately failed to get 6.8.1 working on OS X 10.5 (with XCode > 3.0). > > The compile fini

Template Haskell documentation

2007-11-07 Thread Richard Giraud
Hello I'm trying to learn how to use Template Haskell and I'm finding that the documentation is sparse. In particular, the constructors for Dec, Exp, Con, etc. in Language.Haskell.TH.Syntax aren't explained. Would documentation patches be welcomed for this library? Thanks, Richard

RE: Template Haskell documentation

2007-11-07 Thread Simon Peyton-Jones
The current documentation is laughably sparse. Documentation patches would be hugely welcomed. Thank you! Alfonso is also working actively on TH at the moment. I'm ccing him Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of | Richard Giraud |

RE: Why only inference in type checking?

2007-11-07 Thread Simon Peyton-Jones
Sorry to be slow replying. I don't know how to give a fully satisfactory answer. Partly it's that we want to do inference sometimes and checking sometimes. Partly it's that local constraints" makes checking quite a bit harder (see our paper "Towards open type functions for Haskell" on my home

Re: Template Haskell documentation

2007-11-07 Thread Alfonso Acosta
Hi Richard, > I'm trying to learn how to use Template Haskell and I'm finding that the > documentation is sparse. In particular, the constructors for Dec, Exp, > Con, etc. in Language.Haskell.TH.Syntax aren't explained. Yes, absolutely true. I myself had to look at the sources when I first used

Building a prelude

2007-11-07 Thread Victor Nazarov
Is it possible to build Prelude from scratch. Or just some modules like GHC.Base. For example when I do % ghcjs-inplace.bat -fglasgow-exts -fjavascript -cpp -c Err.lhs-boot % ghcjs-inplace.bat -fglasgow-exts -fjavascript -cpp -c Base.lhs I've got this error: Base.lhs:94:0: Bad interface file

Getting source code

2007-11-07 Thread richardg
Hello I'm trying to get the source code for development purposes (helping add some Haddock documentation for TH). I tried following the steps listed on http://hackage.haskell.org/trac/ghc/wiki/Building/GettingTheSources and ran into trouble. I downloaded ghc-HEAD-2007-08-29-ghc-corelibs-testsuit

RE: Problem compiling 6.8.1 extralibs

2007-11-07 Thread Duncan Coutts
On Wed, 2007-11-07 at 11:50 -0500, Seth Kurtzberg wrote: > Run: > > ghc-pkg list > > See what it thinks about the status of happy. happy is a program. ghc-pkg doesn't know about it. > i'm having some difficulties compiling the 6.8.1 extralibs on a Mandriva > 2007.0 box. Despite happy 1.1

RE: Problem compiling 6.8.1 extralibs

2007-11-07 Thread Seth Kurtzberg
Run: ghc-pkg list See what it thinks about the status of happy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexis Hazell Sent: Wednesday, November 07, 2007 9:02 AM To: glasgow-haskell-users@haskell.org Subject: Problem compiling 6.8.1 extral

RE: Building a prelude

2007-11-07 Thread Simon Peyton-Jones
You probably need to compile with -package-name base. When you compiled Err.lhs-boot you need to say that it belongs to package base. S | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of | Victor Nazarov | Sent: 07 November 2007 14:28 | To: glasgow-has

Problem compiling 6.8.1 extralibs

2007-11-07 Thread Alexis Hazell
Hi all, i'm having some difficulties compiling the 6.8.1 extralibs on a Mandriva 2007.0 box. Despite happy 1.15 being installed (with the happy binary in /usr/bin/), i get the following error: Preprocessing library haskell-src-1.0.1.1... Setup: The program happy is required but

lexer was: Re: Qualified identifiers opinion

2007-11-07 Thread Christian Maeder
Isaac Dupree wrote: >> {-# LANGUAGE ForeignFunctionInterface #-} >> module Foo where > > Suppose all modules have an implicit, unavoidable > >> import ":SpecialSyntax" (module, where, let, [], -- ... >> , foreign --because that extension is enabled >> ) > > Now l

Re: Problem compiling 6.8.1 extralibs

2007-11-07 Thread Alexis Hazell
On Thursday 08 November 2007 04:41, Duncan Coutts wrote: > Install happy from > http://hackage.haskell.org/cgi-bin/hackage-scripts/package/happy-1.17 > > Note that happy 1.17 needs Cabal-1.2 and 1.16 needs Cabal-1.1.6. Ah, that would be the problem then . . . . i'm upgrading from GHC 6.4.2, and

Re: binary dist GHC version 6.8.1

2007-11-07 Thread Ian Lynagh
Hi Christian, On Mon, Nov 05, 2007 at 04:59:57PM +0100, Christian Maeder wrote: > > the binary ghc-6.8.1/lib/ghc-6.8.1/ghc-6.8.1 is not stripped after > installation. I've filed a bug about "make install-strip" not working: http://hackage.haskell.org/trac/ghc/ticket/1851 Thanks Ian

Re: Getting source code

2007-11-07 Thread Richard Giraud
I figured out a way to work around it. Instead of pulling all patches at once, I pulled 100 at a time. Instead of using "darcs pull -a" in step 3, I used "darcs pull". I held down "y" until about 100 or so patches were accepted and then hit "d" to stop applying patches. After doing this 6 ti