package datalog
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
An in-memory datalog implementation for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
datalog-0.7.tbz
sha256=13ca520bddf4f0c44d1468bc89347be72ec543be58fff29469a0da24956be541
sha512=25d6e9cb5abe8aa1110730d884abb9e51ae78bf681b3f21709efa32359b9cbdd97d9076761c91562580c090cbce12ce159c97533ae5d9d427c24cb329e950793
doc/datalog.unix/Datalog_unix/Make/argument-1-TD/DB/index.html
Module TD.DB
Interpreted predicate. It takes terms which have a given symbol as head, and return a list of (safe) clauses that have the same symbol as head, and should unify with the query term.
val clear : t -> unitval interpret : ?help:string -> t -> const -> interpreter -> unitAdd an interpreter for the given constant. Goals that start with this constant will be given to all registered interpreters, all of which can add new clauses. The returned clauses must have the constant as head symbol.
val interpret_list : t -> (const * string * interpreter) list -> unitAdd several interpreters, with their documentation
val add_builtin : t -> Const.t -> BuiltinFun.t -> unitAdd a builtin fun
val builtin_funs : t -> BuiltinFun.mapval help : t -> string listHelp messages for interpreted predicates
val num_facts : t -> intval num_clauses : t -> intval size : t -> intfind facts unifying with the given term, and give them along with the unifier, to the callback
find clauses whose head unifies with the given term, and give them along with the unifier, to the callback
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>