Lambda calculus-like library written in TypeScript.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jlc/src/log.ts

7 lines
166 B

import { _, l } from './core';
import { toString } from './string';
export const log = l('s', l('p', _(({ s, p }) => {
console.log(toString(s));
return p;
})));