runhugs broken

Iavor Diatchki diatchki@cse.ogi.edu
Thu, 15 May 2003 13:54:41 -0700


hello,

Ross Paterson wrote:
> It's not the do-notation -- you get the same with
> 
> 
>>import Prelude(print)
>>main = print "hello"
> 
> 
> The problem is the following line in runhugs.c:
> 
>     hugs->pushHVal(hugs->compileExpr("Main","main >> return ()"));

aha, good point. so i chnaged
"main >> return ()"
to
"main"
and at least one example seems to work.  does the ">> return()" serve 
any purpose?

bye
iavor