Comments only
authorsimonpj@microsoft.com <unknown>
Wed, 15 Oct 2008 08:45:01 +0000 (08:45 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 15 Oct 2008 08:45:01 +0000 (08:45 +0000)
compiler/typecheck/TcDeriv.lhs
compiler/typecheck/TcRnTypes.lhs

index de06136..8a42009 100644 (file)
@@ -423,7 +423,7 @@ makeDerivSpecs is_boot tycl_decls inst_decls deriv_decls
 ------------------------------------------------------------------
 deriveStandalone :: LDerivDecl Name -> TcM (Maybe EarlyDerivSpec)
 -- Standalone deriving declarations
---  e.g.   deriving instance show a => Show (T a)
+--  e.g.   deriving instance Show a => Show (T a)
 -- Rather like tcLocalInstDecl
 deriveStandalone (L loc (DerivDecl deriv_ty))
   = setSrcSpan loc                   $
index 86f1dfc..45907fe 100644 (file)
@@ -633,7 +633,7 @@ I am not convinced that this duplication is necessary or useful! -=chak
 data Inst
   = Dict {
        tci_name :: Name,
-       tci_pred :: TcPredType,
+       tci_pred :: TcPredType,   -- Class or implicit parameter only
        tci_loc  :: InstLoc 
     }