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

NextPrevUpTopContentsIndex

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:

optimize

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.

declaration

The value of info is a list of symbols that have been declared as declaration names, for example by use of
(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 - 20 Sep 2017

NextPrevUpTopContentsIndex