cabal-gild-1.5.0.0: Formats package descriptions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Unstable.Type.VersionRange

Synopsis

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.

fromPkgconfigVersionRange :: PkgconfigVersionRange -> VersionRange PkgconfigVersion Source #

Converts a PkgconfigVersionRange into a VersionRange. Note that the former is more expressive, so things like PcOrLaterVersion will be converted into a Union.

fromVersionRange :: VersionRange -> VersionRange Version Source #

Converts a VersionRange into a VersionRange. These are isomorphic, so no information is lost.