[GHC] #3549: unlit does not follow H98 spec

GHC trac at galois.com
Mon Sep 28 14:01:24 EDT 2009


#3549: unlit does not follow H98 spec
---------------------------------+------------------------------------------
    Reporter:  duncan            |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:                  
   Component:  Compiler          |      Version:  6.10.4          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by malcolm.wallace at cs.york.ac.uk):

 It seems reasonable to me that
     \end{code} % foo
 should be treated as ending a code section.

 Given that
     \begin{bar} something
     \end{bar}
 is legal LaTeX, for any given bar, it is up to the definition of the bar
 environment what it does with the enclosed text, including the text that
 appears on the same line as the introducing \begin{}.  The definition in
 the Haskell Report of the \begin{code} environment is clear that any text
 on the same line is discarded.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3549#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list