runghc, ".hs" suffix

Frederik Eaton frederik at a5.repetae.net
Sat May 14 15:03:49 EDT 2005


(moving to a separate thread)

Also, how hard would it be to make it so that runghc doesn't require
script file names to end with ".hs"? Some people like to keep their
executable names language-neutral.

Frederik

On Wed, May 11, 2005 at 10:55:03AM +0100, Simon Marlow wrote:
> On 11 May 2005 07:37, Frederik Eaton wrote:
> 
> > It looks like runghc is exiting with status 0 if there is a problem.
> > Shouldn't this be non-zero?
> > 
> > $ runghc -V
> > The Glorious Glasgow Haskell Compilation System, version 6.4
> > $ runghc /dev/null; echo $?
> > Could not find module `/dev/null':
> >   use -v to see a list of the files searched for
> >   (one of the roots of the dependency analysis)
> > 
> > <interactive>:1:76:
> >     Failed to load interface for `Main':
> >         Could not find module `Main':
> >           it is not a module in the current program, or in any known
> > package. 0
> 
> It turns out I fixed this bug after 6.4, but later the fix was
> accidentally reverted.  So thanks for reporting this again, it'll work
> properly in 6.4.1.
> 
> Cheers,
> 	Simon
> 



More information about the Glasgow-haskell-users mailing list