Cabal-syntax-3.12.1.0: A library for working with .cabal files

Safe Haskell | Safe-Inferred
Language | Haskell2010

Distribution.SPDX.LicenseListVersion

Synopsis

- data LicenseListVersion
  - = LicenseListVersion_3_0
  - | LicenseListVersion_3_2
  - | LicenseListVersion_3_6
  - | LicenseListVersion_3_9
  - | LicenseListVersion_3_10
  - | LicenseListVersion_3_16
  - | LicenseListVersion_3_23
- cabalSpecVersionToSPDXListVersion :: CabalSpecVersion -> LicenseListVersion

# Documentation

data LicenseListVersion Source #

SPDX License List version `Cabal` is aware of.

Constructors

LicenseListVersion_3_0 |
LicenseListVersion_3_2 |
LicenseListVersion_3_6 |
LicenseListVersion_3_9 |
LicenseListVersion_3_10 |
LicenseListVersion_3_16 |
LicenseListVersion_3_23 |

#### Instances

Instances details

Bounded LicenseListVersion Source # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods minBound :: LicenseListVersion # maxBound :: LicenseListVersion #
Enum LicenseListVersion Source # |

Instance details

Defined in Distribution.SPDX.LicenseListVersion

Methods

succ :: LicenseListVersion -> LicenseListVersion #

pred :: LicenseListVersion -> LicenseListVersion #

toEnum :: Int -> LicenseListVersion #

fromEnum :: LicenseListVersion -> Int #

enumFrom :: LicenseListVersion -> [LicenseListVersion] #

enumFromThen :: LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] #

enumFromTo :: LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] #

enumFromThenTo :: LicenseListVersion -> LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] #

Show LicenseListVersion Source # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods showsPrec :: Int -> LicenseListVersion -> ShowS # show :: LicenseListVersion -> String # showList :: [LicenseListVersion] -> ShowS #
Eq LicenseListVersion Source # |
Instance details Defined in Distribution.SPDX.LicenseListVersion Methods (==) :: LicenseListVersion -> LicenseListVersion -> Bool # (/=) :: LicenseListVersion -> LicenseListVersion -> Bool #
Ord LicenseListVersion Source # |

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 #

cabalSpecVersionToSPDXListVersion :: CabalSpecVersion -> LicenseListVersion Source #