[haddock] #128: The documentation of function arguments is not rendered correctly

haddock haddock at projects.haskell.org
Sun Jan 24 10:51:34 EST 2010


#128: The documentation of function arguments is not rendered correctly
-----------------------+----------------------------------------------------
Reporter:  basvandijk  |        Owner:       
    Type:  defect      |       Status:  new  
Priority:  major       |    Milestone:  2.5.0
 Version:  2.4.2       |   Resolution:       
Keywords:              |  
-----------------------+----------------------------------------------------
Comment (by basvandijk):

 I just discovered that when you explicitly quantify the type variables in
 the type the documentation is rendered correctly. For example:

 {{{
 foo :: forall a b c d
     .  a -- ^ the @a@ argument
     -> b -- ^ the @b@ argument
     -> c -- ^ the @c@ argument
     -> d
 }}}

 is rendered correctly as:

 {{{
 foo
 :: forall a b c d .
 => a    the a argument
 -> b    the b argument
 -> c    the c argument
 -> d
 }}}

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


More information about the Haddock mailing list