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