Feature, implement :main command
Ross Paterson
ross at soi.city.ac.uk
Tue Jan 10 04:49:13 EST 2006
On Tue, Jan 10, 2006 at 01:53:24AM +0000, Neil Mitchell wrote:
> > > 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?
Might as put :main in, as long as :m still abbreviates :module.
Don't forget to update the User's Guide too.
More information about the Cvs-hugs
mailing list