[Haskell-cafe] Does Haddock respect hiding?

Adrian Hey ahey at iee.org
Wed Sep 26 10:15:02 EDT 2007

Hello folks,

Using Haddock 0.8, if I use haddock to document a module like this..

module MyModule
( module MyOtherModule
) where

import MyOtherModule hiding (foo)

I still get foo documented in the API for MyModule, despite the
fact that foo is not really made available by importing MyModule.

This looks like a bug to me, or maybe there's something else I
should be doing. Anyone care to comment?

Adrian Hey

More information about the Haskell-Cafe mailing list