UNPKG

@thi.ng/pointfree

Version:

Pointfree functional composition / Forth style stack execution engine

10 lines 381 B
import type { Stack, StackContext, StackEnv } from "./api.js"; /** * Creates a new StackContext tuple from given d-stack and/or * environment only (the r-stack is always initialized empty). * * @param stack - initial d-stack * @param env - initial environment */ export declare const ctx: (stack?: Stack, env?: StackEnv) => StackContext; //# sourceMappingURL=context.d.ts.map