#2393: Text.PrettyPrint.HughesPJ: Bug fixes, performance improvement
------------------------+---------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/pretty
Version: 6.8.3 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
------------------------+---------------------------------------------------
In summary, I propose to
* fix a bug in fillNB and one in fillNB/sepNB
* correct documentation on laws and invariants.
* add more efficient implementations of vcat,hsep,hcat
More specifically:
(1) Bugfix fillNB: Additional case for {{{ fillNB Empty (Empty : ys) }}}
(2) Bugfix [f](cat|sep): do not allow overlapping ($$) in vertical
composition
(3) Lazy implementations of vcat,hcat and hsep
(4) Law <t2> isn't always true
(5) Invariant 5 should be made stronger
(6) Change the comment about negative indentation
Please see the attached patch
best regards, benedikt
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2393>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs