|
|
|
Description |
this parser module contains functions that allow to parse
and compare ebuild version numbers
|
|
Synopsis |
|
|
|
Documentation |
|
split_version :: ByteString -> [VersionTok] |
split a version number into tokens
|
|
test_NumCharTok :: VersionTok -> Bool |
simple function to test if an VersionTok data element
is of type NumTok or CharTok
|
|
test_Revision :: VersionTok -> Bool |
simple function to test if an VersionTok data element
is of type Revision
|
|
remove_trailing_zeros :: [VersionTok] -> [VersionTok] |
remove trailing zeros from a list of NumToks
|
|
data VersionTok |
keeps track of the token type in a version string
| Constructors | | Instances | |
|
|
data SuffixChoice |
keeps track of the type of version suffix
| Constructors | | Instances | |
|
|
Produced by Haddock version 2.4.2 |