From 369347a575c66f30c1e2d0abd59ffc40d7aabd6a Mon Sep 17 00:00:00 2001 From: sof Date: Mon, 26 May 1997 04:40:36 +0000 Subject: [PATCH] [project @ 1997-05-26 04:40:36 by sof] Removed the use of instances, made the ppr function explicit instead (pprExpr) --- ghc/compiler/hsSyn/HsExpr.hi-boot | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ghc/compiler/hsSyn/HsExpr.hi-boot b/ghc/compiler/hsSyn/HsExpr.hi-boot index f27e26c..adfbbad 100644 --- a/ghc/compiler/hsSyn/HsExpr.hi-boot +++ b/ghc/compiler/hsSyn/HsExpr.hi-boot @@ -1,11 +1,9 @@ _interface_ HsExpr 1 _exports_ -HsExpr HsExpr Stmt; -_instances_ -instance _forall_ [a b c d] => {Outputable.Outputable (HsExpr a b c d)} = $d1; -instance _forall_ [a b c d] => {Outputable.Outputable (Stmt a b c d)} = $d2; +HsExpr HsExpr pprExpr ; _declarations_ -1 $d1 _:_ _forall_ [a b c d] => {Outputable.Outputable (HsExpr a b c d)} ;; -1 $d2 _:_ _forall_ [a b c d] => {Outputable.Outputable (Stmt a b c d)} ;; 1 data HsExpr a b c d; -1 data Stmt a b c d; +1 pprExpr _:_ _forall_ [a b c d] {Name.NamedThing c, Outputable.Outputable c, + Outputable.Outputable d, PrelBase.Eq a, + Outputable.Outputable a, PrelBase.Eq b, Outputable.Outputable b} + => Outputable.PprStyle -> HsExpr a b c d -> Pretty.Doc ;; -- 1.7.10.4