[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / rename / rn002.stderr
1 Renamed-pass4:
2 module Main where
3 infixl 9 PreludeArray.!
4 infixl 9 PreludeList.!!
5 infixl 7 PreludeRatio.%
6 infixl 7 (*)
7 infixl 6 (+)
8 infixl 6 (-)
9 infixl 7 (/)
10 infixl 9 PreludeArray.//
11 infixl 7 `div`
12 infixl 7 `mod`
13 infixl 7 `quot`
14 infixl 7 `rem`
15 infixr 0 $
16 infixr 3 &&
17 infixr 8 (**)
18 infixr 9 .
19 infixr 8 Prelude.^
20 infixr 8 Prelude.^^
21 infixr 2 ||
22 infix  4 (/=)
23 infix  6 :+
24 infix  1 :=
25 infix  4 (<)
26 infix  4 (<=)
27 infix  4 (==)
28 infix  4 (>)
29 infix  4 (>=)
30 infix  5 PreludeList.\\
31 instance (Eq a, Eq b) => Eq (a, b)
32 instance (Eq a, Eq b, Eq c) => Eq (a, b, c)
33 instance (Eq a, Eq b, Eq c, Eq d) => Eq (a, b, c, d)
34 instance (Ord a, Ord b) => Ord (a, b)
35 instance (Ord a, Ord b, Ord c) => Ord (a, b, c)
36 instance (Ord a, Ord b, Ord c, Ord d) => Ord (a, b, c, d)
37 instance (Ix a, Ix b) => Ix (a, b)
38 instance (Ix a, Ix b, Ix c) => Ix (a, b, c)
39 instance (Ix a, Ix b, Ix c, Ix d) => Ix (a, b, c, d)
40 instance (Text a, Text b) => Text (a, b)
41 instance (Text a, Text b, Text c) => Text (a, b, c)
42 instance (Text a, Text b, Text c, Text d) => Text (a, b, c, d)
43 instance (Binary a, Binary b) => Binary (a, b)
44 instance (Binary a, Binary b, Binary c) => Binary (a, b, c)
45 instance (Binary a, Binary b, Binary c, Binary d) => Binary (a, b, c, d)
46 {- nonrec -}
47 Main.f
48     [] = []
49 {- nonrec -}
50 Main.g
51     x = x
52 {- nonrec -}
53 Main.f
54     (x : xs) = []
55 PreludeArray.! :: Ix a => Array a b -> a -> b
56 PreludeList.!! :: Integral a => [b] -> a -> b
57 PreludeRatio.% :: Integral a => a -> a -> Ratio a
58 PreludeArray.// :: Ix a => Array a b -> [Assoc a b] -> Array a b
59 PreludeList.\\ :: Eq a => [a] -> [a] -> [a]
60 Prelude.^ :: (Num b, Integral a) => b -> a -> b
61 Prelude.^^ :: (Fractional b, Integral a) => b -> a -> b
62 PreludeList.or :: [Bool] -> Bool
63
64  
65 "rn002.hs", line 2: multiple declarations of variable:
66     f ( "rn002.hs", line 2,  "rn002.hs", line 4)
67 Fail: Compilation errors found
68
69 ghc: execution of the Haskell compiler had trouble