Ticket #2049: Trace.txt

File Trace.txt, 2.0 KB (added by ToRA, 7 years ago)

Sample session with GHCi, I think the 'd lines should have Bar in the module lists but currently don't

Line 
1-- Bar.hs starts as a broken file
200:15:02 - tora@eustacia:/tmp
3>cat Bar.hs
4module Bar where
5
6bar =
7
800:15:04 - tora@eustacia:/tmp
9>ghci Bar.hs
10GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
11Loading package base ... linking ... done.
12[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
13
14Bar.hs:4:0: parse error (possibly incorrect indentation)
15Failed, modules loaded: none.
16Prelude> :e                                             -- Bar is now OK
17Prelude> :r
18[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
19Ok, modules loaded: Bar.
20Prelude> :m +Bar                                        *****************
21Prelude Bar> :e                                         -- Bar is now BAD
22Prelude Bar> :r
23[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
24
25Bar.hs:4:0: parse error (possibly incorrect indentation)
26Failed, modules loaded: none.
27Prelude> :e                                             -- Bar is now OK
28Prelude> :r
29[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
30Ok, modules loaded: Bar.
31Prelude Bar> :l Bar
32[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
33Ok, modules loaded: Bar.
34*Bar> :e                                                -- Bar is now BAD
35*Bar> :r
36[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
37
38Bar.hs:4:0: parse error (possibly incorrect indentation)
39Failed, modules loaded: none.
40Prelude> :e                                             -- Bar is now OK
41Prelude> :r
42[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
43Ok, modules loaded: Bar.
44*Bar> :e                                                -- Bar is now BAD
45*Bar> :l Bar 
46[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
47
48Bar.hs:4:0: parse error (possibly incorrect indentation)
49Failed, modules loaded: none.
50Prelude> :e                                             -- Bar is now OK
51Prelude> :r                                             
52[1 of 1] Compiling Bar              ( Bar.hs, interpreted )
53Ok, modules loaded: Bar.
54Prelude> Leaving GHCi.                                  ****************
55