Re: build-depends in old-style package descriptions

2007-09-24 Thread Ross Paterson
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" >

Re: RFC: Extended version-range descriptions for Cabal

2007-09-24 Thread Thomas Schilling
On Mon, 2007-09-24 at 22:02 +0100, Ian Lynagh wrote: > On Mon, Sep 24, 2007 at 09:53:16PM +0200, Thomas Schilling wrote: > > > > can lead to rather awkward descriptions of common version ranges, for > > example, > > > > base >= 1 && < 2 > > I don't think anything more is needed, but... > > >

Re: RFC: Extended version-range descriptions for Cabal

2007-09-24 Thread Thomas Schilling
On Mon, 2007-09-24 at 21:36 +0100, Neil Mitchell wrote: > Hi > > > > m.n.o.* ~~>>= m.n.o && < m.n.(o+1) > > > > I like this. > > Me too. > > > > m - n ~~> >= m && <= n > > I would much prefer m .. n as the syntax, as that is the syntax for > ranges in Haskell. Right, that's anoth

Re: RFC: Extended version-range descriptions for Cabal

2007-09-24 Thread Ian Lynagh
On Mon, Sep 24, 2007 at 09:53:16PM +0200, Thomas Schilling wrote: > > can lead to rather awkward descriptions of common version ranges, for > example, > > base >= 1 && < 2 I don't think anything more is needed, but... > (1) Wildcards: > > 1.* ~~> >= 1 && < 2 > > in general > > m.n.

Re: RFC: Extended version-range descriptions for Cabal

2007-09-24 Thread Neil Mitchell
Hi > > m.n.o.* ~~>>= m.n.o && < m.n.(o+1) > > I like this. Me too. > > m - n ~~> >= m && <= n I would much prefer m .. n as the syntax, as that is the syntax for ranges in Haskell. Thanks Neil ___ cabal-devel mailing list cabal-devel@h

Re: RFC: Extended version-range descriptions for Cabal

2007-09-24 Thread Bryan O'Sullivan
Thomas Schilling wrote: (1) Wildcards: 1.* ~~> >= 1 && < 2 in general m.n.o.* ~~>>= m.n.o && < m.n.(o+1) I like this. (2) Ranges: 1 - 2.1 ~~>>= 1 && <= 2.1 in general m - n ~~> >= m && <= n If the upper limit is supposed to be exclusive, this can be combin

RFC: Extended version-range descriptions for Cabal

2007-09-24 Thread Thomas Schilling
Hi librarians, I'd like to propose a an extension to Cabal's dependency description syntax. Cabal currently supports version range descriptions using the unary operators >, >=, <, <=, ==, and binary operators && and ||. This can lead to rather awkward descriptions of common version ranges, for e

Re: [Hackage] #14: allow preprocessing for Main modules

2007-09-24 Thread Hackage
#14: allow preprocessing for Main modules -+-- Reporter: ijones |Owner: duncan Type: defect | Status: closed Priority: high|Milestone: Cabal-1.2 Component: Cabal | Version:

Re: [Hackage] #157: Haddock command fails when dependent documentation is not installed

2007-09-24 Thread Hackage
#157: Haddock command fails when dependent documentation is not installed -+-- Reporter: duncan |Owner: Type: defect | Status: closed Priority: normal |Milestone:

patch applied (cabal): Don't generate links when dependent docs not installed. Fixes bug #157.

2007-09-24 Thread Duncan Coutts
Mon Sep 24 07:25:20 PDT 2007 Duncan Coutts <[EMAIL PROTECTED]> * Don't generate links when dependent docs not installed. Fixes bug #157. Generates a warning rather than failing as before. M ./Distribution/Simple/Haddock.hs -6 +11 ___ cabal-devel

patch applied (cabal): Fix warnings

2007-09-24 Thread Duncan Coutts
Sun Sep 23 05:29:21 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> * Fix warnings M ./Distribution/Simple.hs -2 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel