find-concept [Function]


The find-concept function, a robust variant of get-concept, searches for the concept having a specified name.


find-concept concept &key no-warning-p ignore-package-p context


The concept argument is a concept, or a symbol or string which names a concept. If it is a symbol, it may be an extended identifier having the form context\^{\space}name, where context is the context from which the search is to proceed.

If the no-warning-p argument is t, then no warning is generated if Loom cannot find a concept having the specified name.

If the ignore-package-p argument is t, then Loom searches across packages for the specified name.

The context argument is the context, or the name of the context, from which the search is to start. The concept will be found if it is interned in context or any context above context. This argument defaults to the current context.


The find-concept function returns the concept with the specified name, or nil if none is found.


The find- functions tend to be more flexible, slower, and do more error-checking than the get- functions (such as get-concept). Package-independent searches may be especially slow.


(find-concept 'Thing) ==> |C|THING 
(find-concept 'cl-user-theory\^{\space}Person :no-warning-p t) ==> |C|PERSON 
(find-concept "Computer" :context 'bottom-theory) ==> |C|COMPUTER

See Also

Last modified: Jun 1 1995