@thi.ng/pointfree
Version:
Pointfree functional composition / Forth style stack execution engine
11 lines • 333 B
TypeScript
export type Stack = any[];
export type StackEnv = any;
export type StackFn = (ctx: StackContext) => StackContext;
export type StackProgram = any[];
export type StackProc = StackFn | StackProgram;
export interface StackContext extends Array<any> {
[0]: Stack;
[1]: Stack;
[2]: StackEnv;
}
//# sourceMappingURL=api.d.ts.map