@thi.ng/pointfree
Version:
Pointfree functional composition / Forth style stack execution engine
43 lines • 1.18 kB
TypeScript
/**
* Stack effect: `( x y -- x&y )`
*
* @param ctx -
*/
export declare const bitand: (ctx: import("./api.js").StackContext) => import("./api.js").StackContext;
/**
* Stack effect: `( x y -- x|y )`
*
* @param ctx -
*/
export declare const bitor: (ctx: import("./api.js").StackContext) => import("./api.js").StackContext;
/**
* Stack effect: `( x y -- x^y )`
*
* @param ctx -
*/
export declare const bitxor: (ctx: import("./api.js").StackContext) => import("./api.js").StackContext;
/**
* Stack effect: `( x -- ~x )`
*
* @param ctx -
*/
export declare const bitnot: (ctx: import("./api.js").StackContext) => import("./api.js").StackContext;
/**
* Stack effect: `( x y -- x<<y )`
*
* @param ctx -
*/
export declare const lsl: (ctx: import("./api.js").StackContext) => import("./api.js").StackContext;
/**
* Stack effect: `( x y -- x>>y )`
*
* @param ctx -
*/
export declare const lsr: (ctx: import("./api.js").StackContext) => import("./api.js").StackContext;
/**
* Stack effect: `( x y -- x>>>y )`
*
* @param ctx -
*/
export declare const lsru: (ctx: import("./api.js").StackContext) => import("./api.js").StackContext;
//# sourceMappingURL=binary.d.ts.map