dashes in cabal package names

Duncan Coutts duncan.coutts at worcester.oxford.ac.uk
Fri Aug 6 10:19:59 EDT 2004

On Fri, 2004-08-06 at 13:15, Simon Marlow wrote:
> On 06 August 2004 12:53, Martin Sjögren wrote:
> >> (I really like the <pkgname>-<version> format, probably because it's
> >> so widespread these days).
> > 
> > We-ell, there's the issue of the version tags, which use dashes as
> > separator. But if we disallow tags in the package-id, it shouldn't be
> > a problem. foo-bar-0.1.2-bar-foo is harder to understand, though. :)
> Grrr.  Forgot about the tags.  I suggest tags use an underscore separator rather than a dash.

I hear RedHat's RPM program has a nice bit of obfuscated C code to work
out and compare package name/version strings. I propose translating this
to Haskell.

/runs for cover



More information about the Libraries mailing list