darcs patch: more portabilization
Ian Lynagh
igloo at earth.li
Fri Jan 18 11:40:26 EST 2008
On Fri, Jan 18, 2008 at 07:08:50AM -0500, Isaac Dupree wrote:
> Simon Marlow wrote:
> >Isaac Dupree wrote:
> >>/* This makes it easier to test building without GHC extensions,
> >> * used in import statements such as "import GHC_EXTS.IOBase", to
> >> * provide distinguishment from the GHC API's module GHC */
> >>#ifdef __GLASGOW_HASKELL__
> >>#define GHC_EXTS GHC
> >>#else
> >>/* let it be an error */
> >>#endif
>
> now, if you think that's too much of a hack to put in the official repo,
> just say so :-)
In my opinion it is. Also, if we manage to separate GHC.* into a
separate package to the portable base names then it will be redundant.
Thanks
Ian
More information about the Cvs-ghc
mailing list