patch applied (cabal): Add version field to Program and add findProgram(AndVersion) utilities

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Aug 3 22:33:27 EDT 2007


Thu Aug  2 10:29:41 PDT 2007  Duncan Coutts <duncan at haskell.org>
  * Add version field to Program and add findProgram(AndVersion) utilities
  findProgram and findProgramAndVersion construct Program values
  The latter makes it easier to parse output of --version calls.
  The idea is that we should carry the version number along with the program
  if we know it, so we can later decide version-dependent args without having
  to do more IO to find the program version, eg see use_optP_P & haddockVersion.

    M ./Distribution/Program.hs -7 +61
    M ./Distribution/Simple/Configure.hs -3 +4


More information about the Cvs-libraries mailing list