summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_compile/bkp07.bkp
blob: 918ff08e283a97c4878a6862da08215e152997ae (plain)
1
2
3
4
5
6
7
8
9
unit p where
    signature A where
        foo :: a -> a

unit q where
    dependency p[A=<A>]
    module B where
        import A
        bar x = foo (x + x)