[commit: pretty] master: Fix some spelling mistakes in comments (74e818e)
Ian Lynagh
igloo at earth.li
Wed Jul 20 22:27:52 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/pretty
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/74e818e19584933647d08b5548a0cc808f846c9e
>---------------------------------------------------------------
commit 74e818e19584933647d08b5548a0cc808f846c9e
Author: David Terei <davidterei at gmail.com>
Date: Tue Jul 19 12:14:10 2011 -0700
Fix some spelling mistakes in comments
>---------------------------------------------------------------
Text/PrettyPrint/HughesPJ.hs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Text/PrettyPrint/HughesPJ.hs b/Text/PrettyPrint/HughesPJ.hs
index 77cf489..9c9b2c9 100644
--- a/Text/PrettyPrint/HughesPJ.hs
+++ b/Text/PrettyPrint/HughesPJ.hs
@@ -31,7 +31,7 @@ Version 3.0 28 May 1997
chains.
This is really bad news. One thing a pretty-printer abstraction
- should certainly guarantee is insensivity to associativity. It
+ should certainly guarantee is insensitivity to associativity. It
matters: suddenly GHC's compilation times went up by a factor of
100 when I switched to the new pretty printer.
@@ -116,8 +116,8 @@ Relative to John's original paper, there are the following new features:
sep (separate) is either like hsep or like vcat, depending on what fits
- cat behaves like sep, but it uses <> for horizontal conposition
- fcat behaves like fsep, but it uses <> for horizontal conposition
+ cat behaves like sep, but it uses <> for horizontal composition
+ fcat behaves like fsep, but it uses <> for horizontal composition
These new ones do the obvious things:
char, semi, comma, colon, space,
@@ -563,7 +563,7 @@ reduceDoc p = p
-- | The TextDetails data type
--
--- A TextDetails represents a *fragement* of text that will be
+-- A TextDetails represents a fragment of text that will be
-- output at some point.
data TextDetails = Chr Char -- ^ A single Char fragment
| Str String -- ^ A whole String fragment
More information about the Cvs-libraries
mailing list