@dialog-db/query
Version:
Datalog query engine inspired by Datomic
8 lines • 724 B
TypeScript
export function resolve<T extends API.Scalar>(frame: API.MatchFrame, term: API.Term<T>): API.Term<T>;
export function get<T extends API.Scalar>(frame: API.MatchFrame, term: API.Term<T>): T | undefined;
export function set<T extends API.Scalar>(frame: API.MatchFrame, variable: API.Variable<T>, value: T): API.Result<API.MatchFrame, RangeError>;
export function unify<T extends API.Scalar>(frame: API.MatchFrame, term: API.Term<T>, value: T): API.Result<API.MatchFrame, RangeError>;
export function clone(frame: API.MatchFrame): Map<API.Variable<API.Scalar>, API.Scalar>;
export function from(entries: Iterable<[API.Variable, API.Scalar]>): API.MatchFrame;
import * as API from './api.js';
//# sourceMappingURL=match.d.ts.map