Distribution.SPDX.LicenseListVersion

Cabal-2.4.0.1: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.SPDX.LicenseListVersion

Synopsis

- data LicenseListVersion
  - = LicenseListVersion_3_0
  - | LicenseListVersion_3_2
- cabalSpecVersionToSPDXListVersion :: CabalSpecVersion -> LicenseListVersion

# Documentation

data LicenseListVersion #

SPDX License List version `Cabal` is aware of.

Constructors

LicenseListVersion_3_0 |
LicenseListVersion_3_2 |

Instances

Bounded LicenseListVersion # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods minBound :: LicenseListVersion Source # maxBound :: LicenseListVersion Source #
Enum LicenseListVersion # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods succ :: LicenseListVersion -> LicenseListVersion Source # pred :: LicenseListVersion -> LicenseListVersion Source # toEnum :: Int -> LicenseListVersion Source # fromEnum :: LicenseListVersion -> Int Source # enumFrom :: LicenseListVersion -> [LicenseListVersion] Source # enumFromThen :: LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] Source # enumFromTo :: LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] Source # enumFromThenTo :: LicenseListVersion -> LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] Source #
Eq LicenseListVersion # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods (==) :: LicenseListVersion -> LicenseListVersion -> Bool # (/=) :: LicenseListVersion -> LicenseListVersion -> Bool #
Ord LicenseListVersion # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods compare :: LicenseListVersion -> LicenseListVersion -> Ordering # (<) :: LicenseListVersion -> LicenseListVersion -> Bool # (<=) :: LicenseListVersion -> LicenseListVersion -> Bool # (>) :: LicenseListVersion -> LicenseListVersion -> Bool # (>=) :: LicenseListVersion -> LicenseListVersion -> Bool # max :: LicenseListVersion -> LicenseListVersion -> LicenseListVersion # min :: LicenseListVersion -> LicenseListVersion -> LicenseListVersion #
Show LicenseListVersion # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods showsPrec :: Int -> LicenseListVersion -> ShowS Source # show :: LicenseListVersion -> String Source # showList :: [LicenseListVersion] -> ShowS Source #

cabalSpecVersionToSPDXListVersion :: CabalSpecVersion -> LicenseListVersion #