0.0.4 • Published 1 year ago

concat-everywhere v0.0.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
1 year ago

discord badge

concat-everywhere

Concatenative programming in JS.

import * from 'concat-everywhere';


const three = concat(1, 2, plus).pop();
console.log(three);
// 3


// Works with JS functions and "fat arrow" lambdas
const negativeNine = concat(
  2,
  console.log,
  3,
  console.log,
  Math.pow,
  console.log,
  n => ~n
);
// 2
// 2 3
// 8

console.log(negativeNine);
// -9

Etc

Released under BSD 3-Clause license, original version by Justin "Boonie Pepper" Hill.

Sources on GitHub

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago