cvs commit: fptools/libraries/base Prelude.hs

Simon Peyton-Jones simonpj@microsoft.com
Wed, 11 Sep 2002 09:31:03 +0100


Yes, it's not H98, and it turns out to be somewhat awkward to make GHC
understand it in the New Scheme Of Things (i.e. my template-haskell
branch).  Built-in syntax is built in.  It makes no sense to export or
import it.

So when I make TH into the head, I'll remove those exports.  If nhc
needs them (unlikely, since nhc is H98-compliant) I guess we can ifdef
our way around them.

Simon

| -----Original Message-----
| From: Manuel M T Chakravarty [mailto:chak@cse.unsw.edu.au]
| Sent: 11 September 2002 09:24
| To: cvs-libraries@haskell.org
| Subject: Re: cvs commit: fptools/libraries/base Prelude.hs
|=20
| Malcolm Wallace <malcolm@glass.cse.ogi.edu> wrote,
|=20
| > malcolm     2002/09/10 03:50:28 PDT
| >
| >   Modified files:
| >     libraries/base       Prelude.hs
| >   Log:
| >   Export the builtin syntax for []((:),[]), ()(()), and (->) in
nhc98
| >   as well as ghc.
|=20
| IIRC, when I did something similar for [::] (builtin
| parallel array constructor), SPJ wasn't happy.
|=20
| Manuel
|=20
| _______________________________________________
| Cvs-libraries mailing list
| Cvs-libraries@haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-libraries
_______________________________________________
Cvs-libraries mailing list
Cvs-libraries@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-libraries