#1360: ghci :load and :add clear module context
----------------------+-----------------------------------------------------
Reporter: Frederik | Owner:
Type: task | Status: new
Priority: normal | Milestone: 6.10 branch
Component: GHCi | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by simonmar):
See also #1556, which is this same issue applied to reload. Reload is
somewhat easier, since it is likely that the previous context still makes
sense.
The problem with this ticket is deciding exactly ''what'' to implement.
If someone could have a go at specifying something, that would be a good
starting point. The context consists of two sets of modules `(as,bs)`
where `as` are the `*M` modules and `bs` are the non-`*` modules. Specify
a way to decide what `(as,bs)` should be after a load/add, given the
previous `(as,bs)`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1360#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs