Extend the local bindings at a breakpoint with one for the wrapped expression
authorPepe Iborra <mnislaih@gmail.com>
Fri, 2 Feb 2007 11:26:29 +0000 (11:26 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Fri, 2 Feb 2007 11:26:29 +0000 (11:26 +0000)
commite81584fdd6320e5d5b29be5d89ff7590dfc531fb
treeae5cf58a1cbaf231a9fdf2d677f9ddd5ab7f0e36
parent91388bb33e3f8d9baa926e54e0d1b1949f5fefa0
Extend the local bindings at a breakpoint with one for the wrapped expression

By popular request, in a breakpoint it is possible now to inspect the result of the expression wrapped by the breakpoint.

The user interface for this is right now preliminar; there is a new binding called '_result' at every breakpoint. Suggestions are welcome!
compiler/deSugar/DsBreakpoint.lhs
compiler/deSugar/DsExpr.lhs
compiler/main/GHC.hs