#1896: Keep old bindings until :load succeeds
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: patch
Priority: low | Milestone: 7.2.1
Component: GHCi | Version: 6.8.1
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
Thanks for the patch. One thing I'd be concerned about with saving the
entire GHC session across `:reload` is space leaks - we're careful to
discard modules in `:reload` to avoid keeping two copies of the code in
memory at the same time.
Also I think this ticket is asking for something a bit different - keeping
the previous bindings in a module until they are replaced by successfully
typechecked new code (if I understand correctly) so that the old code can
still be inspected after a type error.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1896#comment:13>
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