Re: [Haskell-cafe] buildDepends syntax and checks

2012-01-04 Thread Rogan Creswick
On Wed, Jan 4, 2012 at 2:29 AM, Shakthi Kannan wrote: > > #2 Is there a way to cross-check if the defined dependencies are in > fact correct, or is it left to the package owner to write them? > Generally speaking, this is undecidable (if I remember my complexity classes correctly...). The semant

[Haskell-cafe] buildDepends syntax and checks

2012-01-04 Thread Shakthi Kannan
Hi, #1 I would like to know if there is any context grammar or syntax for the package dependencies that are allowed in buildDepends in each .cabal file? AnyVersion and WildcardVersion are consistent. But, I see quite a bit of variations in what is included in UnionVersionRange and IntersectVersion