Is GHC.Base deliberately hidden?

Simon Marlow simonmarhaskell at
Fri Jan 4 07:27:48 EST 2008

Adrian Hey wrote:

> Why is it that the haddock docs supplied with GHC omit this module and
> its exports? Is it because we're not supposed to use them? I'm thinking
> of the compareInt# function in particular, which I use quite a lot.

We don't intend GHC.Base to be a stable interface for external use, which 
is why we don't document it.  Use at your own risk!

If there's useful stuff in GHC.Base, then arguably we should have a 
published stable interface from which to get it, though.


More information about the Glasgow-haskell-users mailing list