list-inverse-role-names\&values [Function]


Purpose

The list-inverse-role-names&values function lists each instance and role in which a specified Loom instance appears as a value.

Syntax

list-inverse-role-names&values instance

Arguments

The instance argument is an instance.

Value

The list-inverse-role-names&values function returns an assoc list whose members each consist of a role name and a list of instances which fill the inverse of that role.

Examples

(tellm (child Fred Joe) (husband Sue Joe) (child Mary Joe)) 
(list-inverse-role-names&values (fi Joe)) ==> 
    ((CHILD |I|FRED |I|MARY) (HUSBAND |I|SUE))

See Also

Last modified: Jun 1 1995