functional composition
Go to file
Giles Bradshaw 0337268521 initial commit 2020-07-30 07:05:03 +01:00
.drone initial commit 2020-07-30 07:05:03 +01:00
.gitignore initial commit 2020-07-30 07:05:03 +01:00
.versionrc.json initial commit 2020-07-30 07:05:03 +01:00
CHANGELOG.md initial commit 2020-07-30 07:05:03 +01:00
LICENSE initial commit 2020-07-30 07:05:03 +01:00
README.md initial commit 2020-07-30 07:05:03 +01:00
compose.libsonnet initial commit 2020-07-30 07:05:03 +01:00
package.json initial commit 2020-07-30 07:05:03 +01:00
yarn.lock initial commit 2020-07-30 07:05:03 +01:00

README.md

compose

functional composition for jsonnet

local compose = import 'node_modules/jsonnet-compose/compose.libsonnet';

compose([
  function(x) x+1,
  function(x) x+2,
])(1)

use https://www.conventionalcommits.org/en/v1.0.0/ to control releases.

to release

yarn release