Library index
This page is computed from the engine when the docs are written. A function added to yen appears here without a docs edit.
Outside a fleet: (import yen).lib
Section titled “Outside a fleet: (import yen).lib”agent, allowed, asOf, derive, diffData, eval, grant, history, is, jsonSafe, maybe, mkFlake, narrow, opt, stage, validAt, without
Inside a fleet: yen.lib
Section titled “Inside a fleet: yen.lib”Modules get the same lib, plus predicates and queries bound to the fleet:
all, cascade, declaredIn, floor, graph, has, holds, labels, nearest, not, same, schema, scopesOf, within
Libraries
Section titled “Libraries”| Library | Functions |
|---|---|
yen.lib.reduce | entries, list, merge, one, set |
yen.lib.graphs | cycles, fromEdges, layers, nodesOf, paths, reach, reachers, sccs, shortest, topo, transpose, uniq' |
yen.lib.datalog | facts, judge, proof, stable, wfs, why, whyNot |
yen.lib.krn | appendo, conde, conj, cons, disj, distinctfd, dom, eq, facto, fail, fdBound, fresh, freshNamed, fromList, infd, label, lefd, ltfd, maxOf, maximize, membero, minOf, neq, neqfd, nil, plusfd, project, propagator, run, runAll, runAllFuel, runC, runFuel, succeed, toList, unify, var, walkStar |
yen.lib.rdf | ntriples, shacl, share, triples |
yen.lib.program | dryRun, opErrors, render, toModule, validate |
yen.lib.grants | allowed, grant, narrow |
yen.lib.change | set |
Queries of an eval result: r = yen.lib.eval module
Section titled “Queries of an eval result: r = yen.lib.eval module”active, agent, ask, check, context, data, declaredIn, errors, explain, facts, flake, floor, graph, impact, labels, queries, reduced, root, schema, scopes, undefined
Queries What each query answers.
Error codes Every error record yen can give.