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

git at git.haskell.org git at git.haskell.org
Fri Feb 20 12:25:51 UTC 2015


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

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

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

commit 50947195af59b7b288a67ef726006d18dbdfbbff
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Feb 20 08:52:12 2015 +0000

    Comments only


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

50947195af59b7b288a67ef726006d18dbdfbbff
 compiler/typecheck/TcGenDeriv.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcGenDeriv.hs b/compiler/typecheck/TcGenDeriv.hs
index c928108..3141311 100644
--- a/compiler/typecheck/TcGenDeriv.hs
+++ b/compiler/typecheck/TcGenDeriv.hs
@@ -102,7 +102,9 @@ data DerivStuff     -- Please add this auxiliary stuff
 -}
 
 genDerivedBinds :: DynFlags -> (Name -> Fixity) -> Class -> SrcSpan -> TyCon
-                -> (LHsBinds RdrName, BagDerivStuff)
+                -> ( LHsBinds RdrName  -- The method bindings of the instance declaration
+                   , BagDerivStuff)    -- Specifies extra top-level declarations needed
+                                       -- to support the instance declaration
 genDerivedBinds dflags fix_env clas loc tycon
   | Just gen_fn <- assocMaybe gen_list (getUnique clas)
   = gen_fn loc tycon



More information about the ghc-commits mailing list