summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_run/bkprun01.bkp
blob: 271990447f68fc62ea43bdc75c31da04ebf95b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
unit p-impls where
    module P(hello) where
        hello = "Hello "
    module Q(hello, world) where
        import P
        world = "World"

unit main where
    dependency p-impls
    module Main where
        import P
        import Q
        main = putStrLn (hello ++ world)