[arch-haskell] Adding another data file for dependency "hints"

Peter Simons simons at cryp.to
Sun Jan 2 12:20:05 CET 2011


Hi Magnus,

 >> the gist of this issue is that "parsec >= 3.0 || == 2.1.*" is translated to
 >> "parsec>=3.0", which is just plain wrong. Now, wouldn't it be easiest to
 >> modify cabal2arch so that it translates that specification to "parsec>=2.1"?
 >> A straight-forward algorithm to accomplish that would be to use the *lowest*
 >> version bound in these kinds of alternatives. Right now, cabal2arch appears
 >> to be using the *first* version bound, which is not exactly optimal.
 >
 > Well, there's an obvious problem with what you suggest, since
 > "parsec>=2.1" is plain wrong too!

why is that?

Take care,
Peter



More information about the arch-haskell mailing list