Closure inspection in GHCi
authorPepe Iborra <mnislaih@gmail.com>
Sun, 10 Dec 2006 23:20:18 +0000 (23:20 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Sun, 10 Dec 2006 23:20:18 +0000 (23:20 +0000)
commit121da25a0d638bbe6c7f90525ff50b3a20949bbc
tree996a857a4a387fdb5f8580cdf2035a852dca60b9
parent8bc615fdb45b8e3f2f3ef2167bbb379bf619aab2
Closure inspection in GHCi

The :print, :sprint and :force commands for GHCi.
This set of commands allows inspection of heap structures of the bindings in the interactive environment.
This is useful to observe lazyness and specially to inspect things with undespecified polymorphic types, as happens often in breakpoints.
compiler/ghci/Debugger.hs
compiler/ghci/InteractiveUI.hs
compiler/prelude/PrelNames.lhs
compiler/types/Type.lhs