Mads Lindstrøm wrote:
For those interested I figured out how to avoid the RunBreak -returns.
Use RunToCompletion in stead of SingleStep in the application of runStmt.
I guess Interactive-6.8.hs should also use SingleStep.
SingleStep is what GHCi uses to implement :step - that is, it runs until
the next breakpoint location and then stops, returning RunBreak to the
caller of runStmt. To run the whole statement, what you want is
RunToCompletion, as you discovered.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users