Data.RPM.NV
Description
An NV type contains the name and version of a package only.
data NV Source #
Package name-version type
Constructors
Fields
Defined in Data.RPM.NV
Methods
(==) :: NV -> NV -> Bool #
(/=) :: NV -> NV -> Bool #
showNV :: NV -> String Source #
Render an name-version
readNV :: String -> NV Source #
Read an NV
Errors if not of the form "name-version"
eitherNV :: String -> Either String NV Source #
Read a package name-version or return a failure string
maybeNV :: String -> Maybe NV Source #
Maybe read an package name-version