Feature, implement :main command

Neil Mitchell ndmitchell at gmail.com
Mon Jan 9 20:53:24 EST 2006


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


More information about the Cvs-hugs mailing list