package oasis
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=1cd9071403a2edb79dacbca8a96bdc6be754e786e1a45e69d9326fb6ee00508d
md5=84de67188d6c1ba4499aee6d4cb8cb54
doc/oasis/OASISLicense/index.html
Module OASISLicense
License definition
This module allows to manipulate DEP-5 style license.
License version.
type license_dep_5_unit = {license : license;excption : license_exception option;version : license_version;
}DEP-5 license, basic.
type license_dep_5 = | DEP5Unit of license_dep_5_unit| DEP5Or of license_dep_5 list| DEP5And of license_dep_5 list
DEP-5 license, complex.
OASIS supported type of license.
type license_data = {long_name : string;(*Expanded name of the license.
*)versions : OASISVersion.t list;(*Standard versions of the license.
*)note : string option;(*Extra information about the license.
*)deprecated : string option;(*Deprecated alternative.
*)
}Extra data about license Not exported
type license_exception_data = {explanation : string;(*Purpose of the exception.
*)licenses : license list;(*Compatible licenses with the exception.
*)
}Extra data about license exception Not exported
val to_string : t -> stringConvert a DEP-5 license to string. Not exported.
val legal_disclaimer : string -> t -> stringConvert a DEP-5 license to a legal disclaimer for the product. Not exported.
val string_of_license : license -> stringConvert a license to string. Not exported.
val string_of_license_exception : license_exception -> stringConvert a license exception to string. Not exported.
val value : t OASISValues.tLicense value. Not exported.
val choices : unit -> t listChoices for quickstart question. Not exported.
val license_data : unit -> (license * license_data) listAll available license, their short name, their long name, and compatible versions. Not exported.
val license_exception_data :
unit ->
(license_exception * license_exception_data) listAll available license exception, their name, and compatible license. Not exported.
val odn_of_t : t -> OASISDataNotation.tDump OASISDataNotation.t. Not exported.
License definitions
No licenses are exported.
val proprietary : licenseval apache : licenseval artistic : licenseval bsd2 : licenseval bsd3 : licenseval bsd4 : licenseval cecill : licenseval cecillb : licenseval cecillc : licenseval freebsd : licenseval isc : licenseval cc_by : licenseval cc_by_sa : licenseval cc_by_nd : licenseval cc_by_nc : licenseval cc_by_nc_sa : licenseval cc_by_nc_nd : licenseval cc0 : licenseval cddl : licenseval cpl : licenseval eiffel : licenseval expat : licenseval gpl : licenseval lgpl : licenseval agpl : licenseval gfdl : licenseval gfdl_niv : licenseval lppl : licenseval mpl : licenseval perl : licenseval psf : licenseval qpl : licenseval w3c_software : licenseval zlib : licenseval zope : licenseval mit : licenseval wtfpl : licenseval public_domain : licenseval ocaml_linking_exception : license_exception