[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / rename / rn017.stderr
1 Renamer-pass4:
2 module Test (
3         Test.., Rn017..
4     ) where
5 infixl 7 PreludeRatio.%
6 infixl 9 PreludeArray.//
7 infixr 8 PreludeBasic.^
8 infixr 8 PreludeBasic.^^
9 infix  5 PreludeList.\\
10 data Test.Foo
11     = Test.MkFoo
12 data Bar.Wibble
13     = Bar.MkWibble Burf.Wobble
14 data Burf.Wobble 
15 class Test.FOO a where
16     op{op 1 cls Test.FOO} :: a -> Int
17 instance Test.FOO Test.Foo where
18     op{op 1 cls Test.FOO}
19         x = 42
20 {- nonrec -}
21 Test.f
22     x = x
23 PreludeRatio.% :: Integral a => a -> a -> Ratio a
24 PreludeArray.// :: Ix a => Array a b -> [Assoc a b] -> Array a b
25 PreludeList.\\ :: Eq a => [a] -> [a] -> [a]
26 PreludeBasic.^ :: (Num b, Integral a) => b -> a -> b
27 PreludeBasic.^^ :: (Fractional b, Integral a) => b -> a -> b
28 Bar.a :: Int -> Int
29 Bar.b :: Int -> Int
30 Rn017.c :: Int -> Int
31 interface Test where
32 import Bar(Wibble(..), a, b)
33 import Burf(Wobble(..))
34 import Rn017(c)
35 a :: Int -> Int
36 b :: Int -> Int
37 c :: Int -> Int
38 f :: a -> a
39         {-# ARITY f = 1 #-}
40 class FOO a where
41         op :: a -> Int
42                 {-# ARITY op = 1 #-}
43 data Foo = MkFoo
44 data Wibble = MkWibble Wobble
45 data Wobble 
46 instance FOO Foo
47         {-# ARITY op = 1 #-}
48