[commit: ghc] master: Comments only (eac9bbe)

git at git.haskell.org git at git.haskell.org
Fri Nov 21 13:02:55 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/eac9bbecdcbabdf2e6c7f3b2a14dc9eef0b86515/ghc

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

commit eac9bbecdcbabdf2e6c7f3b2a14dc9eef0b86515
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Nov 20 17:16:30 2014 +0000

    Comments only


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

eac9bbecdcbabdf2e6c7f3b2a14dc9eef0b86515
 compiler/basicTypes/MkId.lhs | 2 +-
 compiler/main/HscTypes.lhs   | 2 +-
 compiler/rename/RnBinds.lhs  | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/compiler/basicTypes/MkId.lhs b/compiler/basicTypes/MkId.lhs
index b32a2b7..de7e4ce 100644
--- a/compiler/basicTypes/MkId.lhs
+++ b/compiler/basicTypes/MkId.lhs
@@ -360,7 +360,7 @@ dictSelRule val_index n_ty_args _ id_unf _ args
 
 %************************************************************************
 %*                                                                      *
-        Boxing and unboxing
+        Data constructors
 %*                                                                      *
 %************************************************************************
 
diff --git a/compiler/main/HscTypes.lhs b/compiler/main/HscTypes.lhs
index 4d1cccb..57a5015 100644
--- a/compiler/main/HscTypes.lhs
+++ b/compiler/main/HscTypes.lhs
@@ -1573,7 +1573,7 @@ implicitConLikeThings (RealDataCon dc)
 implicitConLikeThings (PatSynCon {})
   = []  -- Pattern synonyms have no implicit Ids; the wrapper and matcher
         -- are not "implicit"; they are simply new top-level bindings,
-        -- and they have their own declaration in an interface fiel
+        -- and they have their own declaration in an interface file
 
 implicitClassThings :: Class -> [TyThing]
 implicitClassThings cl
diff --git a/compiler/rename/RnBinds.lhs b/compiler/rename/RnBinds.lhs
index 80239e9..e0f5d0a 100644
--- a/compiler/rename/RnBinds.lhs
+++ b/compiler/rename/RnBinds.lhs
@@ -598,7 +598,6 @@ rnPatSynBind _sig_fn bind@(PSB { psb_id = L _ name
 {-
 Note [Pattern synonym wrappers don't yield dependencies]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
 When renaming a pattern synonym that has an explicit wrapper,
 references in the wrapper definition should not be used when
 calculating dependencies. For example, consider the following pattern



More information about the ghc-commits mailing list