[commit: ghc] master: Correct typos in comments to mkDataCon (0afa37a)

git at git.haskell.org git at git.haskell.org
Wed Jan 14 16:08:34 UTC 2015


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

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

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

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

    Correct typos in comments to mkDataCon


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

0afa37aa342c5c2087b225de76afa23cc2229d9f
 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