Re: Using "GHC as a library" with own functions makes runStmt return RunBreak

2008-02-01 Thread Simon Marlow
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 unti

Re: Using "GHC as a library" with own functions makes runStmt return RunBreak

2008-01-31 Thread Mads Lindstrøm
Mads Lindstrøm yahoo.dk> writes: > > Hi > > I am trying to use "GHC as a library". From runStmt, I want to load and run > functions from a home-grown module. Lets call my home-grown module > HomeGrown.hs. > > I have tried to model my application after > http://haskell.org/sitewiki/images/1/1

Using "GHC as a library" with own functions makes runStmt return RunBreak

2008-01-30 Thread Mads Lindstrøm
Hi I am trying to use "GHC as a library". From runStmt, I want to load and run functions from a home-grown module. Lets call my home-grown module HomeGrown.hs. I have tried to model my application after http://haskell.org/sitewiki/images/1/17/Interactive-6.8.hs / http://haskell.org/sitewiki/imag