[haddock] #82: Strange layout bug

haddock haddock at projects.haskell.org
Fri Feb 6 18:41:28 EST 2009


#82: Strange layout bug
-------------------+--------------------------------------------------------
Reporter:  SamB    |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  2.5.0
 Version:          |    Keywords:       
-------------------+--------------------------------------------------------
 for some reason,

 {{{
 newtype P a = P { runP ::
                         String          -- ^ Input string
                      -> Int             -- ^ Current column
                      -> Int             -- ^ Current line
                      -> SrcLoc          -- ^ Location of last token read
                      -> ParseState      -- ^ Layout info.
                      -> ParseMode       -- ^ Parse parameters
                      -> ParseStatus a
                 }
 }}}
 fails to parse, but
 {{{
 newtype P a = P { runP ::
                         String          -- Input string
                      -> Int             -- Current column
                      -> Int             -- Current line
                      -> SrcLoc          -- Location of last token read
                      -> ParseState      -- Layout info.
                      -> ParseMode       -- Parse parameters
                      -> ParseStatus a
                 }
 }}}
 parses fine.

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


More information about the Haddock mailing list