diff options
Diffstat (limited to 'testsuite/tests/ghci.debugger/Test.hs')
-rw-r--r-- | testsuite/tests/ghci.debugger/Test.hs | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/testsuite/tests/ghci.debugger/Test.hs b/testsuite/tests/ghci.debugger/Test.hs index f0477afc3b..0e177a51d9 100644 --- a/testsuite/tests/ghci.debugger/Test.hs +++ b/testsuite/tests/ghci.debugger/Test.hs @@ -1,40 +1,40 @@ -module Test.Test2 where
-import Data.Typeable
-
-data Show1 = S1 Char Char Char
- deriving Typeable
-
-data Strict = S2 Char !Char
-
-data Opaque = forall a. O a
-data List1 a = Nil | a :^ (List1 a)
- deriving Show
-
-newtype MyInt = My Int
- deriving (Eq,Show,Num, Enum)
-
-newtype MkT a = MkT a
- deriving (Show)
-
-newtype MkT2 a = MkT2 (MkT a)
- deriving Show
-
-data Param2 s r = P2 (FakeSTRef r (s(Param2 s r)))
- | P2Nil
-data FakeSTRef r s = Ref s
-
-testParam2 = O (P2 (Ref P2Nil))
-
-infixr 5 :^
---test T{t=t1} = undefined
-
-instance Show Show1 where
- show (S1 a b c) = show (a)
-
-type Just1 = Maybe
-
-
-data Unary = Unary deriving Show
-
-poly :: a -> ()
-poly x = seq x ()
\ No newline at end of file +module Test.Test2 where +import Data.Typeable + +data Show1 = S1 Char Char Char + deriving Typeable + +data Strict = S2 Char !Char + +data Opaque = forall a. O a +data List1 a = Nil | a :^ (List1 a) + deriving Show + +newtype MyInt = My Int + deriving (Eq,Show,Num, Enum) + +newtype MkT a = MkT a + deriving (Show) + +newtype MkT2 a = MkT2 (MkT a) + deriving Show + +data Param2 s r = P2 (FakeSTRef r (s(Param2 s r))) + | P2Nil +data FakeSTRef r s = Ref s + +testParam2 = O (P2 (Ref P2Nil)) + +infixr 5 :^ +--test T{t=t1} = undefined + +instance Show Show1 where + show (S1 a b c) = show (a) + +type Just1 = Maybe + + +data Unary = Unary deriving Show + +poly :: a -> () +poly x = seq x () |