blob: 987b56609816e42e4e79fbd75ed41a7f3c3f189f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
unit p where
signature A where
data A = A { foo :: Int }
unit q where
signature A where
data A = A { bar :: Bool }
unit r where
dependency p[A=<A>]
dependency q[A=<A>]
module M where
import A
x = foo
y = bar
|