
24 Sep
2007
24 Sep
'07
5:12 p.m.
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 another option. Though, I'm not sure how that looks with dots in version. For comparision: Build-depends: base 1.1 to 2.1.*, filepath 1.1 to 1.* Build-depends: base 1.1 .. 2.1.*, filepath 1.1 .. 1.* Build-depends: base 1.1 - 2.1.*, filepath 1.1 - 1.* Build-depends: base [1.1, 2.2), filepath [1.1, 2) Spaces would be recommended (but not required) in any case. / Thomas