package datalog

  1. Overview
  2. Docs
An in-memory datalog implementation for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.6.tar.gz
md5=4a2d12d630a5edd694968675a84a3ef5
sha512=685c0e186705837cb3ac66df6e8011d9f6a9629484b3a813b767df95348d5a41f37301f3e199ed6c91a42a87d1563e8355377269176785b123eb297a5ad022d7

doc/datalog.caml_interface/Datalog_caml_interface/Rel3/index.html

Module Datalog_caml_interface.Rel3Source

Sourcetype ('a, 'b, 'c) t
Sourceval name : (_, _, _) t -> string
Sourceval create : ?k1:'a Univ.key -> ?k2:'b Univ.key -> ?k3:'c Univ.key -> string -> ('a, 'b, 'c) t
Sourceval get : ('a, 'b, 'c) t -> Logic.T.t -> ('a * 'b * 'c) option
Sourceval make : ('a, 'b, 'c) t -> 'a -> 'b -> 'c -> Logic.T.t
Sourceval apply : (_, _, _) t -> Logic.T.t -> Logic.T.t -> Logic.T.t -> Logic.T.t
Sourceval find : Logic.DB.t -> ('a, 'b, 'c) t -> ('a * 'b * 'c) list
Sourceval subset : Logic.DB.t -> ('a, 'b, 'c) t -> ('a, 'b, 'c) t -> unit
Sourceval from_fun : Logic.DB.t -> ('a, 'b, 'c) t -> ('a -> 'b -> 'c -> bool) -> unit
Sourceval add_list : Logic.DB.t -> ('a, 'b, 'c) t -> ('a * 'b * 'c) list -> unit
Sourceval to_string : (_, _, _) t -> string
Sourceval fmt : Format.formatter -> (_, _, _) t -> unit
OCaml

Innovation. Community. Security.