[commit: ghc] ghc-8.0: Typo in docs (555825c)

git at git.haskell.org git at git.haskell.org
Tue Feb 2 09:47:22 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/555825c7886890f24c02eff9d5c2c21292a9b4bd/ghc

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

commit 555825c7886890f24c02eff9d5c2c21292a9b4bd
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Feb 1 14:33:15 2016 +0100

    Typo in docs
    
    Spelling mistakes fixed,
    
     * identiy > identity
     * suprising > surprising
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1871
    
    (cherry picked from commit 02e3ce0bc65f586376c3d2ecab498a4c5a3f6a54)


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

555825c7886890f24c02eff9d5c2c21292a9b4bd
 docs/backpack/algorithm.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/backpack/algorithm.tex b/docs/backpack/algorithm.tex
index c98781c..1c5adbd 100644
--- a/docs/backpack/algorithm.tex
+++ b/docs/backpack/algorithm.tex
@@ -198,7 +198,7 @@ in a Cabal package, including the name and version of the containing package,
 the transitive dependencies of the component, and even the build information
 for the component.  This ID is opaque to GHC and selected by Cabal
 (although GHC may take a component ID and suffix it with a unit name to
-derive a new component ID.)  Component IDs identiy entries in the
+derive a new component ID.)  Component IDs identity entries in the
 \textbf{component database}, which contains the results of typechecking
 a component, but no actual object code.  However, it does contain the
 elaborated source, so that it can be built into actual code when
@@ -1152,7 +1152,7 @@ provide a record selector.  This capability seems quite attractive,
 although in practice record selectors rarely seem to be abstracted this
 way: one reason is that \verb|M.foo| still \emph{is} a record selector,
 and can be used to modify a record.  (Many library authors find this
-suprising!)
+surprising!)
 
 Nor does this seem to be an insurmountable instance of the avoidance
 problem:



More information about the ghc-commits mailing list