patch applied (packages/cabal-install): Removed one level of
indirection in the command-line options parsing.
bjorn at bringert.net
bjorn at bringert.net
Mon Apr 9 11:49:54 EDT 2007
Mon Apr 9 08:46:54 PDT 2007 bjorn at bringert.net
* Removed one level of indirection in the command-line options parsing.
Before, getOpt would return a list of Flag, which had a one-to-one correspondence with functions TempFlags -> TempFlags. This made it uneccessarily difficult and error-prone to add new flags. I removed the Flag type and replaced the values with TempFlags -> TempFlags functions. This should have the side effect of making the tar path flag work, since it was not interpreted before.
M ./src/Network/Hackage/CabalInstall/Setup.hs -59 +40
M ./src/Network/Hackage/CabalInstall/Types.hs -14 +2
More information about the Cvs-libraries
mailing list