package logtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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 remove : t -> term -> elt -> t
val iter : t -> (term -> elt -> unit) -> unit
val fold : t -> ('a -> term -> elt -> 'a) -> 'a -> 'a
val retrieve_unifiables : ?subst:subst -> t -> scope -> term -> scope -> 'a -> ('a -> term -> elt -> subst -> 'a) -> 'a
val retrieve_generalizations : ?allow_open:bool -> ?subst:subst -> t -> scope -> term -> scope -> 'a -> ('a -> term -> elt -> subst -> 'a) -> 'a
val retrieve_specializations : ?allow_open:bool -> ?subst:subst -> t -> scope -> term -> scope -> 'a -> ('a -> term -> elt -> subst -> 'a) -> 'a
val to_dot : (Buffer.t -> elt -> unit) -> Buffer.t -> t -> unit

print oneself in DOT into the given file

OCaml

Innovation. Community. Security.