Skip to content

Add zeroText to Text.PrettyPrint.HughesPJ

I propose the addition of Text.PrettyPrint.HughesPJ.zeroText :: String -> Doc

This function is essential for outputting HTML which contains textual markup which occupies no space. For an example of it's use see: http://darcs.haskell.org/yhc/src/libraries/core/Yhc/Core/Html.hs

One week for discussion

Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC libraries@haskell.org
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information