Meaning of version tags in cabal files

C Rodrigues red5_2 at hotmail.com
Mon Jan 18 16:41:35 EST 2010


I noticed that cabal will parse, but ignore, version tags.  For example, the two lines appear to be equivalent in how a package gets built:
Version: 1.1Version: 1.1-alternate
Arguably this is not the right thing to do, as it changes the semantics of versions.  For example, I can install version 1.1 of a package without replacing version 1.0, but if I try to install version 1.0-alternate, I will actually replace version 1.0.
I'm not against discarding version tags, but I'd like to know if there's a rationale for _silently_ discarding them.
-heatsink 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390706/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/cabal-devel/attachments/20100118/0b0376ea/attachment.html


More information about the cabal-devel mailing list