[project @ 1997-12-16 16:27:38 by simonm]
[ghc-hetmet.git] / ghc / tests / printing / should_compile / Print004.stderr
1  
2 Print004.hs:18: Warning: no explicit method nor default method for `showsPrec'
3                 in an instance declaration for `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 [taIv] [] [([taIv], $d2{-rIx,x-}, d.Eval_aHe)]
10     d.Eval_aHe = ({-dict-} [] [])
11 AbsBinds [taIw] [] [([taIw], $d3{-rIy,x-}, d.Eval_aHk)]
12     d.Eval_aHk = ({-dict-} [] [])
13 AbsBinds [taHz] [d.Ord_aHT] [([taHz], $d4{-rIz,x-}, d.Show_aHq)]
14     d.Ord_aI1 = d.Ord_aHT
15     d.Show_aHZ = $d1{-rIA,x-} taHz d.Ord_aI1
16     showsPrec_aID =
17         PrelBase.showsPrec{-r2c,p-} (FunnyInternalType{-r6v,l-} taHz)
18             d.Show_aHZ
19     showsPrec_aIE = showsPrec_aIF
20     AbsBinds [] [] [([], showsPrec_aIF, showsPrec_aIH)]
21         showsPrec_aIH a_rGx (Con{-r6u,l-}{i} b1_rGy)
22                       = PrelBase.showParen{-r16,p-} a_rGx >=_aIB lit_aIC
23                                                     PrelBase..{-rI,p-}
24                                                         [PrelBase.String{-r2i,p-}, PrelBase.String{-r2i,p-}, PrelBase.String{-r2i,p-}] PrelBase.showString{-r18,p-} "Con "
25                                                                                                                                        showsPrec_aID PrelBase.I#{-5b,w-}{i} 10#
26                                                                                                                                                      b1_rGy
27     AbsBinds [] [] [([], showList_aIG, showList_aII)]
28         showList_aII = PrelBase.showList__{-r6F,p-}
29                            (OpaqueType{-r6,x-} taHz) showsPrec_aIE PrelBase.I#{-5b,w-}{i} 0#
30     d.Show_aHq = ({-dict-} [] [showsPrec_aIF, showList_aIG])
31 AbsBinds [taIf] [d.Ord_aIn] [([taIf], $d1{-rIA,x-}, d.Show_aI8)]
32     d.Show_aIr = d.Show_aI8
33     $mshowList_aIJ =
34         PrelBase.$mshowList{-rii,p-} (FunnyInternalType{-r6v,l-} taIf)
35             d.Show_aIr
36     AbsBinds [] [] [([], showsPrec_aIK, showsPrec_aIM)]
37         showsPrec_aIM
38             = GHCerr.noDefaultMethodError{-8k,w-}
39                   (PrelBase.Int{-3f,W-}
40                    -> FunnyInternalType{-r6v,l-} taIf
41                    -> PrelBase.String{-r2i,p-}
42                    -> PrelBase.String{-r2i,p-}) "<NoSrcLoc>|showsPrec"
43     AbsBinds [] [] [([], showList_aIL, showList_aIN)]
44         showList_aIN = $mshowList_aIJ
45     d.Show_aI8 = ({-dict-} [] [showsPrec_aIK, showList_aIL])
46 d.Ord_aIu = PrelBase.$d7{-re0,p-}
47 >=_aIB = PrelBase.>={-810,p-} PrelBase.Int{-3f,W-} d.Ord_aIu
48 lit_aIC = 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 Addr ArrBase Foreign 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) ;