[project @ 1997-09-25 14:35:16 by simonm]
[ghc-hetmet.git] / ghc / tests / printing / should_compile / Print004.stderr
1  
2 Print004.hs:18: No explicit method nor default method for `PrelBase.showsPrec'
3                 in an instance declaration for `PrelBase.Show'
4 ==================== Typechecked ====================
5 Con{-r6u,l-}{i} =
6     _/\_ a_tr6C -> \ tpl_B1 -> Con{-r6u,l-}{i} {_@_ a_tr6C tpl_B1}
7 Junk11{-r4,l-}{i} = _/\_ a_tr6A -> Junk11{-r4,l-}{i} {_@_ a_tr6A}
8 Junk2{-r3,l-}{i} = _/\_ a_tr6A -> Junk2{-r3,l-}{i} {_@_ a_tr6A}
9 AbsBinds [taFU] [] [([taFU], $d2{-rFW,x-}, d.Eval_aEz)]
10     d.Eval_aEz = ({-dict-} [] [])
11 AbsBinds [taFV] [] [([taFV], $d3{-rFX,x-}, d.Eval_aEF)]
12     d.Eval_aEF = ({-dict-} [] [])
13 AbsBinds [taEV] [d.Ord_aFg] [([taEV], $d4{-rFY,x-}, d.Show_aEL)]
14     d.Ord_aFo = d.Ord_aFg
15     d.Show_aFm = $d1{-rFZ,x-} taEV d.Ord_aFo
16     showsPrec_aG2 =
17         PrelBase.showsPrec{-r2c,p-} (FunnyInternalType{-r6v,l-} taEV)
18             d.Show_aFm
19     showsPrec_aG3 = showsPrec_aG4
20     AbsBinds [] [] [([], showsPrec_aG4, showsPrec_aEP)]
21         showsPrec_aEP a_rDS (Con{-r6u,l-}{i} b1_rDT)
22                       = PrelBase.showParen{-r16,p-} a_rDS >=_aG0 lit_aG1
23                                                     PrelBase..{-rI,p-}
24                                                         [PrelBase.String{-r2i,p-}, PrelBase.String{-r2i,p-}, PrelBase.String{-r2i,p-}] PrelBase.showString{-r18,p-} "Con "
25                                                                                                                                        showsPrec_aG2 PrelBase.I#{-5b,w-}{i} 10#
26                                                                                                                                                      b1_rDT
27     AbsBinds [] [] [([], showList_aG5, showList_aFb)]
28         showList_aFb = PrelBase.showList__{-r6F,p-}
29                            (OpaqueType{-r6,x-} taEV) showsPrec_aG3 PrelBase.I#{-5b,w-}{i} 0#
30     d.Show_aEL = ({-dict-} [] [showsPrec_aG4, showList_aG5])
31 AbsBinds [taFD] [d.Ord_aFM] [([taFD], $d1{-rFZ,x-}, d.Show_aFv)]
32     d.Show_aFQ = d.Show_aFv
33     $mshowList_aG6 =
34         PrelBase.$mshowList{-rif,p-} (FunnyInternalType{-r6v,l-} taFD)
35             d.Show_aFQ
36     AbsBinds [] [] [([], showsPrec_aG7, showsPrec_aFA)]
37         showsPrec_aFA
38             = GHCerr.noDefaultMethodError{-8k,w-}
39                   (PrelBase.Int{-3g,W-}
40                    -> FunnyInternalType{-r6v,l-} taFD
41                    -> PrelBase.String{-r2i,p-}
42                    -> PrelBase.String{-r2i,p-}) "<NoSrcLoc>|PrelBase.showsPrec"
43     AbsBinds [] [] [([], showList_aG8, showList_aFJ)]
44         showList_aFJ = $mshowList_aG6
45     d.Show_aFv = ({-dict-} [] [showsPrec_aG7, showList_aG8])
46 d.Ord_aFT = PrelBase.$d7{-rdY,p-}
47 >=_aG0 = PrelBase.>={-8Z,p-} PrelBase.Int{-3g,W-} d.Ord_aFT
48 lit_aG1 = PrelBase.I#{-5b,w-}{i} 10#
49
50 ghc: module version changed to 1; reason: no old .hi file
51 _interface_ ExportOpaque 1
52 _instance_modules_
53 ArrBase IO PrelNum
54 _usages_
55 PrelBase 1 :: $d1 1 $d12 1 $d15 1 $d16 1 $d2 1 $d22 1 $d27 1 $d28 1 $d3 1 $d33 1 $d34 1 $d35 1 $d38 1 $d39 1 $d4 1 $d40 1 $d42 1 $d43 1 $d45 1 $d46 1 $d47 1 $d50 1 $d51 1 $d52 1 $d55 1 $d56 1 $d7 1 $d8 1 $d9 1 $m- 1 $m/= 1 $m< 1 $m<= 1 $m> 1 $m>= 1 $mcompare 1 $mfromInt 1 $mmax 1 $mmin 1 $mshowList 1 . 1 showList__ 1 showParen 1 showSpace 1 showString 1 Eq 1 Eval 1 Num 1 Ord 1 Ordering 1 Show 1 ShowS 1 String 1;
56 PrelNum 1 :: $d10 1 $d16 1 $d17 1 $d18 1 $d29 1 $d33 1 $d34 1 $d35 1;
57 _exports_
58 ExportOpaque OpaqueType;
59 _instances_
60 instance _forall_ [a] {PrelBase.Ord a} => {PrelBase.Show (FunnyInternalType a)} = $d1;
61 instance _forall_ [a] => {PrelBase.Eval (OpaqueType a)} = $d2;
62 instance _forall_ [a] => {PrelBase.Eval (FunnyInternalType a)} = $d3;
63 instance _forall_ [a] {PrelBase.Ord a} => {PrelBase.Show (OpaqueType a)} = $d4;
64 _declarations_
65 1 $d1 _:_ _forall_ [a] {PrelBase.Ord a} => {PrelBase.Show (FunnyInternalType a)} ;;
66 1 $d2 _:_ _forall_ [a] => {PrelBase.Eval (OpaqueType a)} ;;
67 1 $d3 _:_ _forall_ [a] => {PrelBase.Eval (FunnyInternalType a)} ;;
68 1 $d4 _:_ _forall_ [a] {PrelBase.Ord a} => {PrelBase.Show (OpaqueType a)} ;;
69 1 data FunnyInternalType a = Junk11 |  Junk2 ;
70 1 data OpaqueType a = Con (FunnyInternalType a) ;