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

NextPrevUpTopContentsIndex

dspec-progenitor

Function
Summary

Returns the ultimate parent of a subfunction dspec.

Signature

dspec-progenitor dspec => result

Package

dspec

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.

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

local-dspec-p


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex