package datalog

  1. Overview
  2. Docs
type 'a t
val name : 'a t -> string
val create : ?k:'a Univ.key -> string -> 'a t
val get : 'a t -> Logic.T.t -> 'a option
val make : 'a t -> 'a -> Logic.T.t
val apply : 'a t -> Logic.T.t -> Logic.T.t
val find : Logic.DB.t -> 'a t -> 'a list
val subset : Logic.DB.t -> 'a t -> 'a t -> unit
val from_fun : Logic.DB.t -> 'a t -> ('a -> bool) -> unit
val add_list : Logic.DB.t -> 'a t -> 'a list -> unit
OCaml

Innovation. Community. Security.