[project @ 2001-03-21 14:26:30 by simonmar]
[ghc-hetmet.git] / ghc / compiler / hsSyn / HsBinds.lhs
index 2cea4d2..4483543 100644 (file)
@@ -10,8 +10,7 @@ module HsBinds where
 
 #include "HsVersions.h"
 
-import {-# SOURCE #-} HsExpr    ( pprExpr, HsExpr )
-import {-# SOURCE #-} HsMatches ( pprMatches, Match, pprGRHSs, GRHSs )
+import {-# SOURCE #-} HsExpr ( pprExpr, HsExpr, pprMatches, Match, pprGRHSs, GRHSs )
 
 -- friends:
 import HsTypes         ( HsType )
@@ -241,11 +240,8 @@ data Sig name
                SrcLoc
 
   | ClassOpSig name            -- Selector name
-                (DefMeth name) -- (Just dm_name) for source-file class signatures
-                               --      The name may not be used, if there isn't a
-                               --      generic default method, but it's there if we
-                               --      need it
-                               -- Gives DefMeth info for interface files sigs
+                (DefMeth name) -- Default-method info
+                               -- See "THE NAMING STORY" in HsDecls
                (HsType name)
                SrcLoc