Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data VersionRange a
- = Any
- | This a
- | Later a
- | Earlier a
- | Union (VersionRange a) (VersionRange a)
- | Intersect (VersionRange a) (VersionRange a)
- fromPkgconfigVersionRange :: PkgconfigVersionRange -> VersionRange PkgconfigVersion
- fromVersionRange :: VersionRange -> VersionRange Version
Documentation
data VersionRange a Source #
This type exists to provide an Ord
instance for
VersionRange
, which was added in Cabal-syntax-3.10.1.0
.
Any | |
This a | |
Later a | |
Earlier a | |
Union (VersionRange a) (VersionRange a) | |
Intersect (VersionRange a) (VersionRange a) |
Instances
Show a => Show (VersionRange a) Source # | |
Defined in CabalGild.Unstable.Type.VersionRange showsPrec :: Int -> VersionRange a -> ShowS # show :: VersionRange a -> String # showList :: [VersionRange a] -> ShowS # | |
Eq a => Eq (VersionRange a) Source # | |
Defined in CabalGild.Unstable.Type.VersionRange (==) :: VersionRange a -> VersionRange a -> Bool # (/=) :: VersionRange a -> VersionRange a -> Bool # | |
Ord a => Ord (VersionRange a) Source # | |
Defined in CabalGild.Unstable.Type.VersionRange compare :: VersionRange a -> VersionRange a -> Ordering # (<) :: VersionRange a -> VersionRange a -> Bool # (<=) :: VersionRange a -> VersionRange a -> Bool # (>) :: VersionRange a -> VersionRange a -> Bool # (>=) :: VersionRange a -> VersionRange a -> Bool # max :: VersionRange a -> VersionRange a -> VersionRange a # min :: VersionRange a -> VersionRange a -> VersionRange a # |