[Haskell-cafe] Alternative dependencies in Cabal file
matthias.reisner at googlemail.com
Wed Mar 17 07:11:53 EDT 2010
for a package I need to ensure the user uses a certain package
configuration. So how would I rewrite the following pseudo-cabal
Build-Depends: packageA < X, packageB < Y
packageA >= X && < X', packageB >= Y && < Y'
packageA >= X', packageB >= Y'
Build-Depends: ... common dependencies ...
where neither A nor B is the base package. Maybe I have to use if/else
blocks, but I don't know what conditions to use then.
More information about the Haskell-Cafe