[GHC] #669: negative indentation in Text.PrettyPrint.HughesPJ
GHC
trac at galois.com
Tue Mar 27 05:26:38 EDT 2007
#669: negative indentation in Text.PrettyPrint.HughesPJ
------------------------------------------+---------------------------------
Reporter: waldmann at imn.htwk-leipzig.de | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: hslibs/text | Version: 6.4.1
Severity: minor | Resolution:
Keywords: | Difficulty: Unknown
Testcase: pp1 | Architecture: Unknown
Os: Unknown |
------------------------------------------+---------------------------------
Comment (by simonpj):
That's interesting!
So a valid way forward would be
* First, to document this point in the Haddock docs for 'nest', perhaps
giving the examples that John does.
* Second, to arrange that in the erroneous situation that a user asks
for negative indentation, the library uses zero rather than looping. And
to document this point.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/669>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list