Re: Feature, implement :main command

Neil Mitchell <[email protected]> Tue, 10 Jan 2006 01:53:24 +0000
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <[email protected]>
Hi

> > Having :main would break the Hugs rule that all commands can be
> > abbreviated to a single letter.  :Main?
>
> main is basically calling main, and in Haskell Main would be something
> entirely different. However, the single letter rule is useful. Not
> sure on that one.

I still have this floating around - I personally find the :main
command indispensable now, and curse when I get to a computer without
it (or have to use GHCi, again loosing :main). I will probably post it
as a recommendation to the GHC team as soon as its in hugs.

Any final thoughts on whether it should go in or not, and what its
name should be?

Thanks

Neil