constantsTheory.constants : string -> term list
Returns a list of the constants defined in a named theory.
The call
constants thy
where thy is an ancestor theory (the special string
"-" means the current theory), returns a list of all the
constants in that theory.
Fails if the named theory does not exist, or is not an ancestor of the current theory.
- load "combinTheory";
> val it = () : unit
- constants "combin";
> val it = [`$o`, `W`, `S`, `K`, `I`, `combin$C`] : term list
Theory.types, Theory.current_axioms,
Theory.current_definitions,
Theory.current_theorems