Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Cabal-syntax Distribution.SPDX.LicenseId SPDX License identifiers list v3.23
Lucida_Bitmap_Fonts :: LicenseIdCabal-syntax Distribution.SPDX.LicenseId Lucida-Bitmap-Fonts, Lucida Bitmap Fonts License, SPDX License List 3.23
-
Cabal-syntax Distribution.SPDX.LicenseId McPhee-slideshow, McPhee Slideshow License, SPDX License List 3.23
-
Cabal-syntax Distribution.SPDX.LicenseId Widget-Workshop, Widget Workshop License, SPDX License List 3.23
licenseId :: LicenseId -> StringCabal-syntax Distribution.SPDX.LicenseId License SPDX identifier, e.g. "BSD-3-Clause".
licenseIdList :: LicenseListVersion -> [LicenseId]Cabal-syntax Distribution.SPDX.LicenseId No documentation available.
licenseIdMigrationMessage :: String -> StringCabal-syntax Distribution.SPDX.LicenseId Help message for migrating from non-SPDX license identifiers. Old License is almost SPDX, except for BSD2, BSD3. This function suggests SPDX variant:
>>> licenseIdMigrationMessage "BSD3" "Do you mean BSD-3-Clause?"
Also OtherLicense, AllRightsReserved, and PublicDomain aren't valid SPDX identifiers>>> traverse_ (print . licenseIdMigrationMessage) [ "OtherLicense", "AllRightsReserved", "PublicDomain" ] "SPDX license list contains plenty of licenses. See https://spdx.org/licenses/. Also they can be combined into complex expressions with AND and OR." "You can use NONE as a value of license field." "Public Domain is a complex matter. See https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files. Consider using a proper license."
SPDX License list version 3.0 introduced "-only" and "-or-later" variants for GNU family of licenses. See https://spdx.org/news/news/2018/01/license-list-30-released >>> licenseIdMigrationMessage "GPL-2.0" "SPDX license list 3.0 deprecated suffixless variants of GNU family of licenses. Use GPL-2.0-only or GPL-2.0-or-later." For other common licenses their old license format coincides with the SPDX identifiers:>>> traverse eitherParsec ["GPL-2.0-only", "GPL-3.0-only", "LGPL-2.1-only", "MIT", "ISC", "MPL-2.0", "Apache-2.0"] :: Either String [LicenseId] Right [GPL_2_0_only,GPL_3_0_only,LGPL_2_1_only,MIT,ISC,MPL_2_0,Apache_2_0]
mkLicenseId :: LicenseListVersion -> String -> Maybe LicenseIdCabal-syntax Distribution.SPDX.LicenseId -
Cabal-syntax Distribution.System No documentation available.
module Distribution.Types.
AbiDependency No documentation available.