Re: runhugs broken

Iavor Diatchki <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.