Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data LicenseRef
- licenseRef :: LicenseRef -> String
- licenseDocumentRef :: LicenseRef -> Maybe String
- mkLicenseRef :: Maybe String -> String -> Maybe LicenseRef
- mkLicenseRef' :: Maybe String -> String -> LicenseRef
Documentation
data LicenseRef #
A user defined license reference denoted by LicenseRef-[idstring]
(for a license not on the SPDX License List);
licenseRef :: LicenseRef -> String #
License reference.
licenseDocumentRef :: LicenseRef -> Maybe String #
Document reference.
mkLicenseRef :: Maybe String -> String -> Maybe LicenseRef #
Create LicenseRef
from optional document ref and name.
mkLicenseRef' :: Maybe String -> String -> LicenseRef #
Like mkLicenseRef
but convert invalid characters into -
.