Hi Simon,
On Tue, May 26, 2009 at 04:59:12PM +0100, Simon Peyton-Jones wrote:
>
> 2. Secondly, I can't see GHC.Base documented in
> http://www.haskell.org/ghc/docs/latest/html/libraries/
> Why not? It's rather important!
In looking at this, I found that the new build system wasn't actually
haddocking anything; now fixed.
GHC.Base is deliberately not in the documentation: it has a
{-# OPTIONS_HADDOCK hide #-}
pragma. Instead, everything that it exports should be documented by a
module that re-exports it. In particular, lazy is here:
http://www.haskell.org/ghc/docs/latest/html/libraries/base/GHC-Exts.html#v%3Alazy
> 1. prelude/primops.txt.pp says that 'lazy' is a "pseudoop". But in fact it
> isn't exported by GHC.Prim at all; rather by GHC.Base.
>
> So I suspect that all the commentary in primops.txt.pp belongs in GHC.Base.
Isn't the better fix to just move lazy into GHC.Prim? It doesn't make
sense to me for it to be in GHC.Base while seq, for example, is in
GHC.Prim.
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc