[haddock] #78: Quoting full qualified names to refer to entities that are not in scope don't work.

haddock haddock at projects.haskell.org
Tue Feb 3 03:16:12 EST 2009


#78: Quoting full qualified names to refer to entities that are not in scope
don't work.
---------------------------------+------------------------------------------
Reporter:  gsan at stillpsycho.net  |       Owner:       
    Type:  defect                |      Status:  new  
Priority:  major                 |   Milestone:  2.4.2
 Version:  2.4.1                 |    Keywords:       
---------------------------------+------------------------------------------
 References to entities that are exported by another module, but not
 imported by the current one don't work, though single quotes are removed.

 {{{
 module Other (other, test2) where

 -- | Doc
 other :: Int
 other = 2

 -- | Doc
 test2 :: Bool
 test2 = False
 }}}


 {{{
 module Test (test) where

 import Other (test2)

 import Data.Maybe

 -- | These links don't work: 'other', 'Other.other', 'Data.List.sortBy'.
 --   These do work: 'test2', 'Other.test2', 'Data.Maybe.fromMaybe'.
 test :: Int
 test = 1
 }}}

 Interestingly enough, full qualified names get detected in prologue
 (index.html) but they're not hyperlinked. Tested on 2.4.1 and 2.4.2.

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


More information about the Haddock mailing list