[Haddock] [haddock] #153: Documentation of non-exported symbols is smashed into next exported symbol doc

haddock haddock at projects.haskell.org
Wed Sep 29 20:15:03 EDT 2010


#153: Documentation of non-exported symbols is smashed into next exported symbol
doc
-------------------+--------------------------------------------------------
Reporter:  tommd   |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  2.7.0
 Version:  2.8.0   |    Keywords:       
-------------------+--------------------------------------------------------
 Example:


 {{{
 module Test
         ( func
         ) where

 -- | An internal value
 value = 1

 -- |An exported function
 func :: Int -> Int
 func = (+) value
 }}}

 Resulting documentation with haddock 2.8.1 ( ~/.cabal/bin/haddock -o ./tmp
 --html haddock.hs) gives the text under "func" as:

 {{{
 An internal value

 An exported function
 }}}

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


More information about the Haddock mailing list