All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

declaration-information Function

Summary

Return information about the function bindings of a symbol in an environment.

Package

hcl

Signature

declaration-information decl-name &optional env => info

Arguments
decl-name
A declaration name.
env
An environment or nil.
Values
info
Information about decl-name.
Description

The function declaration-information returns information about the declarations for decl-name in the environment env.

The following values for decl-name are supported:

The value of info is a list of lists of the form (quality value), where quality is one of the optimization qualities specified by the Common Lisp standard and LispWorks extensions (float, for example). Each value is the corresponding value for that quality.

The value of info is a list of symbols that have been declared as declaration names, for example by:

(declaim (declaration ...))

There are currently no other supported values for decl-name.

Notes

declaration-information is part of the environment access API which is based on that specified in Common Lisp: the Language (2nd Edition).

See also

augment-environment
define-declaration
function-information
map-environment
variable-information


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35