diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/builtin.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/builtin.mli b/lib/builtin.mli index d7017e3..18d5f82 100644 --- a/lib/builtin.mli +++ b/lib/builtin.mli @@ -23,6 +23,9 @@ val is_builtin : string -> bool (** Whether a name is a builtin. The loader uses it for reference checking, so user relations cannot shadow builtins. *) +val names : string list +(** Every builtin relation name, for tooling (completion). *) + val run : Pattern.Subst.t -> string -> Pattern.t Label.Map.t -> outcome option (** Executes one builtin goal under the substitution. [None] when the name is not a builtin, so the VM falls through to the |
