package logtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type elt
val empty : t
val add : t -> term -> elt -> t
val remove : t -> term -> elt -> t
val is_empty : t -> bool
val iter : t -> (term -> elt -> unit) -> unit
val fold : t -> 'a -> ('a -> term -> elt -> 'a) -> 'a
val size : t -> int
val fold_unify : ?subst:subst -> t -> scope -> term -> scope -> 'a -> ('a -> term -> elt -> subst -> 'a) -> 'a

LogtkUnify the given term with indexed terms

val fold_match : ?allow_open:bool -> ?subst:subst -> t -> scope -> term -> scope -> 'a -> ('a -> term -> elt -> subst -> 'a) -> 'a

Match the indexed terms against the given query term

val fold_matched : ?allow_open:bool -> ?subst:subst -> t -> scope -> term -> scope -> 'a -> ('a -> term -> elt -> subst -> 'a) -> 'a

Match the query term against the indexed terms

OCaml

Innovation. Community. Security.