chickadee » variable-item » define-variable

(define-variable NAME INIT [GUARD])syntax

Wrapper around make-variable that defines the variable NAME to the variable.

NAME is an identifier.

INIT and GUARD as for make-variable.

(use variable-item)

(define-variable scale * (warning-guard scale procedure))
(scale) ;=> #<procedure ...>
(scale /)