[commit: ghc] ghc-7.10: Correct typos in comments to mkDataCon (1f934a5)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 15:24:22 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/1f934a5b33bc154e5fbdfc79375b066511189908/ghc

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

commit 1f934a5b33bc154e5fbdfc79375b066511189908
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Jan 12 11:19:10 2015 +0000

    Correct typos in comments to mkDataCon
    
    (cherry picked from commit 0afa37aa342c5c2087b225de76afa23cc2229d9f)


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

1f934a5b33bc154e5fbdfc79375b066511189908
 compiler/basicTypes/DataCon.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/basicTypes/DataCon.hs b/compiler/basicTypes/DataCon.hs
index 593e0ed..200bf21 100644
--- a/compiler/basicTypes/DataCon.hs
+++ b/compiler/basicTypes/DataCon.hs
@@ -619,8 +619,8 @@ isMarkedStrict _               = True   -- All others are strict
 -- | Build a new data constructor
 mkDataCon :: Name
           -> Bool               -- ^ Is the constructor declared infix?
-          -> [HsBang]           -- ^ Strictness/unpack annotations, from user, of
-                                --   (for imported DataCons) from the interface file 
+          -> [HsBang]           -- ^ Strictness/unpack annotations, from user;
+                                --   or, for imported DataCons, from the interface file 
           -> [FieldLabel]       -- ^ Field labels for the constructor, if it is a record,
                                 --   otherwise empty
           -> [TyVar]            -- ^ Universally quantified type variables



More information about the ghc-commits mailing list