[Haddock] [haddock] #161: Nested {- -} comments in code examples

haddock haddock at projects.haskell.org
Sat Jul 20 21:28:50 BST 2013


#161: Nested {- -} comments in code examples
---------------------+------------------------------------------------------
Reporter:  McManiaC  |        Owner:         
    Type:  defect    |       Status:  closed 
Priority:  major     |    Milestone:         
 Version:  2.8.0     |   Resolution:  invalid
Keywords:            |  
---------------------+------------------------------------------------------
Changes (by Fūzetsu):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 This can't possibly work because it's not valid Haskell. The first ‘-}’
 closes the comment block and there's no way to escape that. You'll have to
 use the first form if you want to represent long comments inside the docs.

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


More information about the Haddock mailing list