[Haddock] [haddock] #37: Hide instances that are "internal" to a module

haddock haddock at projects.haskell.org
Wed Jun 13 13:46:10 BST 2012


#37: Hide instances that are "internal" to a module
------------------------+---------------------------------------------------
Reporter:  waern        |        Owner:     
    Type:  enhancement  |       Status:  new
Priority:  minor        |    Milestone:     
 Version:               |   Resolution:     
Keywords:               |  
------------------------+---------------------------------------------------
Changes (by feuerbach):

 * cc: roma at ro-che.info (added)


Comment:

 I'm interested in implementing this, but not sure about the right
 semantics.

 In particular, it seems to me that the right granularity is package, not
 module.

 E.g. there might be an "internal" module which exports a datatype, which
 is an instance of an exported type class. If the datatype is not exported
 by any of the exposed modules, we don't want its existence to leak to the
 outside via this instance.

 But haddock doesn't know about packages, as far as I understand. Any ideas
 on how to tackle this?

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/37#comment:8>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list