On this page:
6.1 LICENSE struct
plicense
6.2 LICENSE conversion
plicense->string
port->plicense
string->plicense
8.12

6 LICENSE🔗ℹ

 (require pmsf/license) package: pmsf-license

6.1 LICENSE struct🔗ℹ

 (require pmsf/license/struct) package: pmsf-license

struct

(struct plicense (conditions)
    #:extra-constructor-name make-plicense
    #:transparent)
  conditions : (listof (or/c pcondition? string?))

Example:
> (plicense (list (pcondition "chez" (list "Apache-2.0"))))

(plicense (list (pcondition "chez" '("Apache-2.0"))))

6.2 LICENSE conversion🔗ℹ

 (require pmsf/license/convert) package: pmsf-license

procedure

(plicense->string input-plicense)  string?

  input-plicense : plicense?

Example:
> (plicense->string
   (plicense (list (pcondition "chez" (list "Apache-2.0")))))

"chez? ( Apache-2.0 )"

procedure

(port->plicense input-port)  plicense?

  input-port : input-port?

procedure

(string->plicense input-string)  plicense?

  input-string : string?

Example:
> (string->plicense "chez? ( Apache-2.0 )")

(plicense (list (pcondition "chez" '("Apache-2.0"))))