package datalog
An in-memory datalog implementation for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
datalog-0.7.tbz
sha256=13ca520bddf4f0c44d1468bc89347be72ec543be58fff29469a0da24956be541
sha512=25d6e9cb5abe8aa1110730d884abb9e51ae78bf681b3f21709efa32359b9cbdd97d9076761c91562580c090cbce12ce159c97533ae5d9d427c24cb329e950793
doc/datalog.caml_interface/Datalog_caml_interface/Rel2/index.html
Module Datalog_caml_interface.Rel2
Source
subset db r1 r2
adds to db
the axiom that r2(X,Y) :- r1(X,Y)
; in other words, r1
is a subset of r2
as a relation
Axioms for transitivity are added to the DB
tc_of db ~tc r
adds to db
axioms that make the relation tc
the transitive closure of the relation r
.
reflexive db r
makes r
reflexive in db
, ie for all X
, r(X,X)
holds in db
.
Axiom for symmetry (ie "r(X,Y) <=> r(Y,X)") added to the DB
The given function decides of the given relation (if it returns true for a couple of constants, then the relation holds for those constants)
Add given list of axioms
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>