Debian Codegraph @

tests/haskell/Types/TypeFamilies/5/Main.hs

raw symbols SCIP
1 module Test where
2
3 import Compiler.Prim
4 import Control.DeepSeq
5 import Data.Text.Display
6
7 -- data T a = T !(a -> !a) !Int b
8 data T a = T !(a -> a) Int !b
9
10 class C a where
11 type K a
12 type K a = ()
13 type K a a a = a
14 asdf :: a -> Int
15
16 instance Show a => C a where
17 asdf x = x
18
19 f x y = seq x y
20
21 main = putStrLn $ show $ f 1 2