RFC: Extended version-range descriptions for Cabal
duncan.coutts at worc.ox.ac.uk
Tue Sep 25 07:13:06 EDT 2007
In message <404396ef0709241336n1fd188dax119feab0f71ac542 at mail.gmail.com> "Neil
Mitchell" <ndmitchell at gmail.com> writes:
> > > 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.
True, but it looks horrible with version numbers since they're full of '.'s:
I guess with our ReadP-based parser that's not ambiguous without whitespace but
it's not nice.
More information about the cabal-devel