8.16.0.4
7 REQUIRED_USE
(require pmsf/required-use) | package: pmsf-required-use |
7.1 REQUIRED_USE struct
(require pmsf/required-use/struct) | |
package: pmsf-required-use |
struct
(struct prequired-use (conditions) #:extra-constructor-name make-prequired-use #:transparent) conditions : (listof (or/c pcondition? string?))
Example:
> (prequired-use (list (pcondition "test" (list "debug")))) (prequired-use (list (pcondition "test" '("debug"))))
7.2 REQUIRED_USE conversion
(require pmsf/required-use/convert) | |
package: pmsf-required-use |
procedure
(prequired-use->string input-prequired-use) → string?
input-prequired-use : prequired-use?
Example:
> (prequired-use->string (prequired-use (list (pcondition "test" (list "debug"))))) "test? ( debug )"
procedure
(port->prequired-use input-port) → prequired-use?
input-port : input-port?
procedure
(string->prequired-use input-string) → prequired-use?
input-string : string?
Example:
> (string->prequired-use "test? ( debug )") (prequired-use (list (pcondition "test" '("debug"))))