All Manuals > LispWorks® User Guide and Reference Manual > 35 The DSPEC Package

dspec-progenitor Function

Summary

Returns the ultimate parent of a subfunction dspec.

Package

dspec

Signature

dspec-progenitor dspec => result

Arguments
dspec
A dspec.
Values
result
A dspec.
Description

The function dspec-progenitor returns a dspec result which is the ultimate parent of a subfunction dspec argument dspec.

If the argument dspec is not a local dspec, it is simply returned.

Note that result is not necessarily a canonical dspec.

Examples
(dspec-progenitor 
 '(subfunction 1 (subfunction (flet a) (defun foo))))
=>
(defun foo)
See also

local-dspec-p


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