Liking cljdoc? Tell your friends :D

kigen.logic

Further relations (goals) and utility functions to extend core.logic.

Further relations (goals) and utility functions to extend core.logic.
raw docstring

lvar-tableclj

(lvar-table m n)

Creates a 2-dimensional array of logic variables with m rows and n columns. It returns the table and a complete sequence as a pair. The main purpose is to hide the irrelevant technical details.

Creates a 2-dimensional array of logic variables with `m` rows and `n`
columns. It returns the table and a complete sequence as a pair.
The main purpose is to hide the irrelevant technical details.
sourceraw docstring

lvar-vectorclj

(lvar-vector n)

Just creating a vector of length n containing logic variables.

Just creating a vector of length `n` containing logic variables.
sourceraw docstring

nthoclj

(ntho coll index content)
(ntho coll index content i)

Succeeds if the sequential collection coll has content at the position index. Classic recursive implementation.

Succeeds if the sequential collection `coll` has `content` at the position
`index`. Classic recursive implementation.
sourceraw docstring

reduceoclj

(reduceo relo initial coll result)

Relational reduce, succeds if the reduction produces the result.

Relational reduce, succeds if the reduction produces the result.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close