package datalog
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/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)"
>