[commit: packages/pretty] large_docs, master, moretests: change doc wording for `ribbonsPerLine` (#14) (5c0f0fa)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:48:57 UTC 2015


Repository : ssh://git@git.haskell.org/pretty

On branches: large_docs,master,moretests
Link       : http://git.haskell.org/packages/pretty.git/commitdiff/5c0f0fa4e59cc695541c90c5afff5c26272f9876

>---------------------------------------------------------------

commit 5c0f0fa4e59cc695541c90c5afff5c26272f9876
Author: David Terei <code at davidterei.com>
Date:   Wed Dec 17 02:06:52 2014 -0800

    change doc wording for `ribbonsPerLine` (#14)


>---------------------------------------------------------------

5c0f0fa4e59cc695541c90c5afff5c26272f9876
 src/Text/PrettyPrint/HughesPJ.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Text/PrettyPrint/HughesPJ.hs b/src/Text/PrettyPrint/HughesPJ.hs
index 2a36f07..b13d665 100644
--- a/src/Text/PrettyPrint/HughesPJ.hs
+++ b/src/Text/PrettyPrint/HughesPJ.hs
@@ -806,7 +806,7 @@ oneLiner (Beside {})         = error "oneLiner Beside"
 data Style
   = Style { mode           :: Mode  -- ^ The rendering mode
           , lineLength     :: Int   -- ^ Length of line, in chars
-          , ribbonsPerLine :: Float -- ^ Ratio of ribbon length to line length
+          , ribbonsPerLine :: Float -- ^ Ratio of line length to ribbon length
           }
 
 -- | The default style (@mode=PageMode, lineLength=100, ribbonsPerLine=1.5@).



More information about the ghc-commits mailing list