[commit: Cabal] master: List.hs: fix synopsis paragraph wrapping (f38527f)
Paolo Capriotti
p.capriotti at gmail.com
Tue May 8 00:00:11 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f38527f31d3484fdf4d805b990b701773c3fee55
>---------------------------------------------------------------
commit f38527f31d3484fdf4d805b990b701773c3fee55
Author: Brent Yorgey <byorgey at gmail.com>
Date: Fri Mar 7 19:21:59 2008 +0000
List.hs: fix synopsis paragraph wrapping
>---------------------------------------------------------------
cabal-install/Hackage/List.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cabal-install/Hackage/List.hs b/cabal-install/Hackage/List.hs
index 0cd8856..bc0852e 100644
--- a/cabal-install/Hackage/List.hs
+++ b/cabal-install/Hackage/List.hs
@@ -95,7 +95,7 @@ data PackageDisplayInfo = PackageDisplayInfo {
showPackageInfo :: PackageDisplayInfo -> String
showPackageInfo pkg =
- render $
+ renderStyle (style {lineLength = 80, ribbonsPerLine = 1}) $
text " *" <+> text (name pkg)
$+$
(nest 6 $ vcat [
More information about the Cvs-libraries
mailing list