I have never got any error messages reported correctly by runhugs and
have always assumed that this was due to runhugs not being completed
yet (as there was no reference to runhugs in the manual of 20/6/97).
Now there is a reference to runhugs in the latest manual (4/12/97)
perhaps this is a bug?

For example, on the following

> main :: IO ()
> main = putStr "Hello world!\n"

runhugs (corresponding to Hugs 971118) works fine with

$ runhugs runhugs.lhs
Hello world!
$ 

but with a typo

> main :: IO ()
> main = putSt "Hello world!\n"

I get

$ runhugs runhugs.lhs
runhugs: 
$ 

ie. no error message.

With a run-time error, eg.

> main :: IO ()
> main = error "Hello?"

I get

$ runhugs runhugs.lhs

Program error: Hello?runhugs: 
$ 


I presume this is either:

a) known about, in which case, I apologise (but I couldn't find any
reference to it),

b) a problem at my end, in which case, we should isolate the problem.


Then again, it could just be a plain bug. :-)

Graeme.

Reply via email to