Ticket #935 (new enhancement)

Opened 14 months ago

Last modified 7 months ago

implementation of Distribution.Version.invertVersionRange

Reported by: dsf Owned by:
Priority: low Milestone:
Component: Cabal library Version: 1.10.2.0
Severity: normal Keywords:
Cc: dsf@… Difficulty: very easy (<1 hour)
GHC Version: 7.4.1 Platform:

Description

Attached is an implementation of a function to return the complement of a VersionRange?.

Attachments

Version.hs Download (1.7 KB) - added by dsf 14 months ago.
Implementation of function to invert a VersionRange?

Change History

Changed 14 months ago by dsf

Implementation of function to invert a VersionRange?

Changed 14 months ago by duncan

That's great, thanks. Can you perhaps also add a suitable test property for this in tests/Test/Distribution/Version.hs? That module currently has pretty comprehensive tests for all the version range stuff.

Changed 7 months ago by dsfox

  • cc dsf@… added
Note: See TracTickets for help on using tickets.