|
|
|
Description |
this module contains the top level routines for searching for
packages with certain dependencies
|
|
Synopsis |
|
|
|
Documentation |
|
match_version :: ByteString -> ByteString -> ByteString -> Bool |
check if a version plus qualifier matches a supplied
version string
|
|
is_equal :: ByteString -> ByteString -> Bool |
function checking equality of two version strings
NOTE: We do two things to determine equality:
- a raw comparison of the ByteString
- next, we tokenize both ByteStrings, strip the trailing
zeros, and then compare to catch cases like
1.1.0.0.0 == 1.1
This means we're currently missing things like
1.1.0.0-rc1 and 1.1-rc1 as being equal
|
|
is_larger :: ByteString -> ByteString -> Bool |
check if version string 1 is larger than version string 2
|
|
is_larger_equal :: ByteString -> ByteString -> Bool |
check if version string 1 is large equal than version
string 2
|
|
is_smaller :: ByteString -> ByteString -> Bool |
check if version string 1 is smaller than version string2
|
|
is_smaller_equal :: ByteString -> ByteString -> Bool |
check if version string 1 is smaller equal than version
string 2.
|
|
is_same_rev_class :: ByteString -> ByteString -> Bool |
function checking if two particular versions match
apart from the revision number
|
|
Produced by Haddock version 2.4.2 |