On 25 August 2010 21:36, Johannes Waldmann <waldm...@imn.htwk-leipzig.de> wrote: >> Perhaps Haddock could exclude class instance reporting [...] > > Instances are global, and cannot be hidden. > You cannot prevent their use, so you might as well document them.
Yes you can; in that example Alexander linked to before, you can't use the class methods of GraphvizResult; try it, they are: outputCall :: (GraphvizResult o) => o -> String isBinary :: (GraphvizResult o) => o -> Bool In this case, the class is one defined inside that module and used solely for those two data types; it isn't exported, and the only way you can tell it exists is that Haddock mentions the instances. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe