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