GHC.Prim s compiled without -haddock
It may look like that ghc-prim
is compiled without -haddock
flag.
Prelude GHC.Prim> :doc yield#
ghc: Can't find any documentation for GHC.Prim.
This is probably because the module was compiled without '-haddock',
but it's also possible that the module contains no documentation.
Try re-compiling with '-haddock'.
This is not true, as
Prelude GHC.Prim> :m +GHC.Magic
Prelude GHC.Prim GHC.Magic> :doc lazy
The 'lazy' function restrains strictness analysis a little. The
...
The uniqueness of GHC.Prim
leaks.