SPDX License Expression.
idstring = 1*(ALPHA / DIGIT / "-" / "." )
license id = <short form license identifier inAppendix I.1>
license exception id = <short form license exception identifier inAppendix I.2>
license ref = ["DocumentRef-"1*(idstring)":"]"LicenseRef-"1*(idstring)
simple expression = license id / license id"+" / license ref
compound expression = 1*1(simple expression /
simple expression "WITH" license exception id /
compound expression "AND" compound expression /
compound expression "OR" compound expression ) /
"(" compound expression ")" )
license expression = 1*1(simple expression / compound expression)
Instances12Eq, Data, Ord, Read, Show, Generic, …
Eq LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionData LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionOrd LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionRead LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionShow LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionGeneric LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionNFData LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionBinary LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionParsec LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionPretty LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressionStructured LicenseExpressionDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpressiontype Rep LicenseExpression = D1 ('MetaDataDefined in Cabal-syntax-3.12.1.0 · Distribution.SPDX.LicenseExpression"LicenseExpression"
"Distribution.SPDX.LicenseExpression"
"Cabal-syntax-3.12.1.0-3adc"
'False) (C1 ('MetaCons"ELicense"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SimpleLicenseExpression) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe LicenseExceptionId))) :+: (C1 ('MetaCons"EAnd"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LicenseExpression) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LicenseExpression)) :+: C1 ('MetaCons"EOr"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LicenseExpression) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LicenseExpression))))