[GHC] #10425: User's guide PDF version: Example with wrong indentation in Section 13.1.1.2

#10425: User's guide PDF version: Example with wrong indentation in Section 13.1.1.2 -------------------------------------+------------------------------------- Reporter: asr | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: | Version: 7.10.1 Documentation | Operating System: Unknown/Multiple Keywords: | Type of failure: None/Unknown Architecture: | Blocked By: Unknown/Multiple | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- In the '''pdf''' version of User's Guide Version 7.10.1, the first example of "Section 13.1.1.2 Contex-free syntax" has the following wrong indentation: {{{#!hs main = do args <- getArgs if null args then return [] else do ps <- mapM process args mapM print ps }}} The HTML version is OK, though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10425 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10425: User's guide PDF version: Example with wrong indentation in Section
13.1.1.2
-------------------------------------+-------------------------------------
Reporter: asr | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.10.2
Component: Documentation | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Reid Barton

#10425: User's guide PDF version: Example with wrong indentation in Section 13.1.1.2 -------------------------------------+------------------------------------- Reporter: asr | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.2 Component: Documentation | Version: 7.10.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by rwbarton): * status: new => closed * resolution: => fixed Comment: 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. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10425#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC