Feature, implement :main command

Neil Mitchell ndmitchell at gmail.com
Sun Oct 30 09:07:30 EST 2005


> Well the Main module probably imports System.Environment anyway
Mine never does, I always import System, which doesn't include withArgs

> I guess this is harmless, and presumably this will be used by some
> WinHugs thing.
Indeed :)

> The usual way to parse arguments to Hugs commands is readFilename(),
That does make it much easier, and much shorter, attached is a new
version. If no one has any objections I'll check it in.

Thanks

Neil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main2.patch
Type: application/octet-stream
Size: 2296 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/cvs-hugs/attachments/20051030/7fe5eaad/main2.obj


More information about the Cvs-hugs mailing list