declsType.decls : string -> {Thy : string, Tyop : string} list
Lists all theories a named type operator is declared in.
An invocation Type.decls s finds all theories in the
ancestry of the current theory with a type constant having the given
name.
Never fails.
> Type.decls "prod";
val it = [{Thy = "pair", Tyop = "prod"}]: {Thy: string, Tyop: string} list
There is also a function Term.decls that performs a
similar operation on term constants.
Theory.ancestry, Term.decls, Theory.constants