Opened 5 years ago

Closed 4 years ago

#10425 closed bug (fixed)

User's guide PDF version: Example with wrong indentation in Section

Reported by: asr Owned by:
Priority: normal Milestone: 7.10.2
Component: Documentation Version: 7.10.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


In the pdf version of User's Guide Version 7.10.1, the first example of "Section Contex-free syntax" has the following wrong indentation:

main = do args <- getArgs
    if null args then return [] else do
          ps <- mapM process args
          mapM print ps

The HTML version is OK, though.

Change History (2)

comment:1 Changed 4 years ago by Reid Barton <rwbarton@…>

In 5688053a5c0a188c8bc94cd2c41d178b5c716535/ghc:

Detabify a programlisting in the User's Guide (#10425)

comment:2 Changed 4 years ago by rwbarton

Resolution: fixed
Status: newclosed

Thanks. There was a tab character in that example code which I'm going to assume was responsible for the wrong indentation in the PDF file.

Note: See TracTickets for help on using tickets.