| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Distribution.SPDX.License
Synopsis
- data License
Documentation
Declared license. See section 3.15 of SPDX Specification 2.1
Note: the NOASSERTION case is omitted.
Old License can be migrated using following rules:
AllRightsReservedandUnspecifiedLicensetoNONE. No license specified which legally defaults to All Rights Reserved. The package may not be legally modified or redistributed by anyone but the rightsholder.OtherLicensecan be converted toLicenseRefpointing to the file in the package.UnknownLicensei.e. other licenses of the formname-x.y, should be covered by SPDX license list, otherwise useLicenseRef.PublicDomainisn't covered. Consider using CC0. See https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files for more information.
Constructors
| NONE | if the package contains no license information whatsoever; or |
| License LicenseExpression | A valid SPDX License Expression as defined in Appendix IV. |
Instances
| Eq License Source # | |
| Data License Source # | |
Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> License -> c License # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c License # toConstr :: License -> Constr # dataTypeOf :: License -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c License) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c License) # gmapT :: (forall b. Data b => b -> b) -> License -> License # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> License -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> License -> r # gmapQ :: (forall d. Data d => d -> u) -> License -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> License -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> License -> m License # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> License -> m License # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> License -> m License # | |
| Ord License Source # | |
| Read License Source # | |
| Show License Source # | |
| Generic License Source # | |
| Binary License Source # | |
| NFData License Source # | |
| Pretty License Source # | |
| Parsec License Source # |
|
Methods parsec :: CabalParsing m => m License Source # | |
| Newtype SpecLicense (Either License License) Source # | |
| type Rep License Source # | |
type Rep License = D1 (MetaData "License" "Distribution.SPDX.License" "Cabal-2.2.0.0-inplace" False) (C1 (MetaCons "NONE" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "License" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 LicenseExpression))) | |