blob: a05aa73ccc746f6424cfc810eae0d401ac3eca2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
:l ../shell.hs
:def shell (\s -> do shell s; return "")
:set prompt ""
:set -v1
:shell echo "module Ghci058 where c = 'a'" > Ghci058.hs
:shell "$HC" $HC_OPTS $ghciWayFlags -fforce-recomp -c Ghci058.hs
:l Ghci058
c
:shell echo "module Ghci058 where c = 'b'" > Ghci058.hs
:shell "$HC" $HC_OPTS $ghciWayFlags -fforce-recomp -c Ghci058.hs
:l Ghci058
c
|