Sven Panne <[EMAIL PROTECTED]> writes:

> panne       2005/01/23 05:48:19 PST
>
>   Modified files:
>     libraries/Cabal/Distribution GetOpt.hs Setup.hs 
>     libraries/base/System/Console GetOpt.hs 
>   Log:
>   Added Isaac's getOpt variant (named getOpt' now), so System.Console.GetOpt
>   and Distribution.GetOpt are identical now.

Nice.  Thanks.

While you're at it, I had a thought of writing a simple function for
commands:

commandMain :: (String, IO ()) -> IO ()

which just grabs the non-flag arguments and executes an action
depending on the command.  I don't have a use for it right now, but it
seemed like it might be useful so I thougt I'd mention it.


peace,

  isaac
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to