Re: Feature, implement :main command
Ross Paterson <[email protected]> Tue, 10 Jan 2006 09:49:13 +0000
| Newsgroups | gmane.comp.lang.haskell.cvs.hugs |
|---|---|
| Message-ID | <[email protected]> |
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.