Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f7b4206da01b390a18a2ea148611d1acf9642306 >--------------------------------------------------------------- commit f7b4206da01b390a18a2ea148611d1acf9642306 Author: bjorn <[email protected]> Date: Mon Apr 9 15:46:54 2007 +0000 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. .../src/Network/Hackage/CabalInstall/Setup.hs | 99 ++++++++------------ .../src/Network/Hackage/CabalInstall/Types.hs | 16 +--- 2 files changed, 42 insertions(+), 73 deletions(-) Diff suppressed because of size. To see it, use: git show f7b4206da01b390a18a2ea148611d1acf9642306 _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
