Declaring Types of Variables

Syntax: let ((name [:: type] init) ...) body

Declare new locals variables with the given name, initial value init, and optional type specification type. If type is specified, then the expression init is evaluated, the result coerced to type, and then assigned to the variable. If type is not specified, it defaults to <object>.

Syntax: let* ((name [:: type] init) ...) body

Syntax: letrec ((name [:: type] init) ...) body

Syntax: define [:: type] value

See also define-private, and define-constant.