blob: 44b8f8dd318535ad2bac30a40a0e38ad7632fc9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
:l shell.hs
:def shell (\s -> do shell s; return "")
:unset +s
:unset +t
:shell cp A1.hs A.hs
:load B
-- eval something that isn't exported from B
z
:shell echo >> A.hs
:reload
-- A should be recompiled, B will be skipped. We should still have
-- the full top-level scope of B available, though. This was
-- nearly broken in GHC 6.4
z
|