set-destructive-mode!

Synopsis

(set-destructive-mode! boolean)

Parameters

boolean : #t or #f

Description

This procedure controls destructive macro expansion for Inlab Scheme. When set to #t, macros are expanded destructively. It’s recommended to leave this setting at the default of #t for normal use.

Side Effects

The macro expansion mode is set.

Return Value

unspecified (ok)

Example

> (get-destructive-mode)
#t
> (set-destructive-mode! #f)
ok
> (get-destructive-mode)
#f
>