Hi Pepe,
> The result of an expression is not a String, but an arbitrary value of
> some type.
Yes, sorry I forgot to mention that I will also be evaluating expressions
of type Bool in this context.
> One way to do that (untested):
> ...
Thanks for that. I had to modify it a bit to typecheck an
Chris,
On 23/04/2008, at 12:41, C.M.Brown wrote:
Hello,
I want to use the ghc evaluator on the fly for some refactorings
within
HaRe. However, I notice that runstmt ::Session -> String -> IO
RunResult.
Is there anyway I can grab the result of the evaluated expression as a
String (rather
Hello,
I want to use the ghc evaluator on the fly for some refactorings within
HaRe. However, I notice that runstmt ::Session -> String -> IO RunResult.
Is there anyway I can grab the result of the evaluated expression as a
String (rather than it being outputted to the terminal)?
It seems RunRes