ccase-usingGBBopen Toolscompiler-macroexpand-1compiler-macroexpandGoTo Top

compiler-macroexpand   form &optional env => expansion, expanded-p[Function]

Purpose
Expand form until it is no longer a compiler-macro form.

Package   :gbbopen-tools

Module   :gbbopen-tools

Arguments and values

form     A form
env     An environment object (default is nil)
expansion     A form
expanded-p     A generalized boolean

Returns
Two values:

Description
Form is expanded repeatedly by calling compiler-macroexpand-1 until it is no longer a compiler-macro form.

See also
    compiler-macroexpand-1

Examples

  > (compiler-macroexpand '(ensure-list x))
  (let ((#:g7105 x)) (if (listp #:g7105) #:g7105 (list #:g7105)))
  t
  > (compiler-macroexpand '(cons x nil))
  (cons x nil)
  nil
  >


The GBBopen Project


ccase-usingGBBopen Toolscompiler-macroexpand-1compiler-macroexpandGoTo Top