Add GHCi help message for :def! and :: commands
[ghc.git] / testsuite / tests / typecheck / should_compile / tc193.hs
1
2 -- A newtype representation problem crashed GHC 6.4
3
4 module ShouldCompile where
5
6
7 newtype Signal a = Signal Symbol
8
9 newtype Symbol = Symbol (S Symbol)
10
11 data S s = Bool Bool
12
13 liftl :: Signal a -> Symbol
14 liftl (Signal a) = a
15
16