dashes in cabal package names

Simon Marlow simonmar at microsoft.com
Fri Aug 6 08:15:57 EDT 2004

On 06 August 2004 12:53, Martin Sjögren wrote:

>> Dashes in package names?  Absolutely.  I don't think you need a
>> non-dash separator between the package name and the version number,
>> just take the last dash in the package id as the name-version
>> separator. 
>> (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.


More information about the Libraries mailing list