package logtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module type Index_intf.TERM_IDXSource

type t
type elt
module Leaf : LEAF with type elt = elt
val name : string
val empty : unit -> t
val is_empty : t -> bool
val size : t -> int
val add : t -> term -> elt -> t
val add_seq : t -> (term * elt) Iter.t -> t
val add_list : t -> (term * elt) list -> t
val remove : t -> term -> elt -> t
val remove_seq : t -> (term * elt) Iter.t -> t
val remove_list : t -> (term * elt) list -> t
val iter : t -> (term -> elt -> unit) -> unit
val fold : t -> ('a -> term -> elt -> 'a) -> 'a -> 'a
val retrieve_unifiables : ?subst:Unif_subst.t -> t Scoped.t -> term Scoped.t -> (term * elt * Unif_subst.t) Iter.t
val retrieve_generalizations : ?subst:subst -> t Scoped.t -> term Scoped.t -> (term * elt * subst) Iter.t
val retrieve_specializations : ?subst:subst -> t Scoped.t -> term Scoped.t -> (term * elt * subst) Iter.t

print oneself in DOT into the given file