build-depends in old-style package descriptions

Ross Paterson ross at soi.city.ac.uk
Mon Sep 24 19:52:38 EDT 2007


On Tue, Sep 18, 2007 at 10:02:52AM +0100, Ross Paterson wrote:
> Could we not just replace
> 
> 	(deps, libfs1) = partition ((`elem` constraintFieldNames) . fName) libfs0
> 	libfs = if null libfs1 && not (null deps)
> 		then [F (lineNo (head deps)) "buildable"
> 		"False"]
> 		else libfs1
> 
> with
> 
> 	(deps, libfs) = partition ((`elem` constraintFieldNames) . fName) libfs0

Is there any reason not to do this?  It would simplify the interface for
clients.


More information about the cabal-devel mailing list