functional composition
Go to file
Giles eb25b32d49 chore(release): 0.0.19 2020-07-29 20:48:44 +01:00
.drone fix: just adding a comment should do semver 2020-07-29 20:47:54 +01:00
.gitignore . 2020-07-29 20:09:10 +01:00
.versionrc.json . 2020-07-29 20:09:10 +01:00
CHANGELOG.md chore(release): 0.0.19 2020-07-29 20:48:44 +01:00
LICENSE Initial commit 2020-07-29 13:47:06 +00:00
README.md . 2020-07-29 20:09:10 +01:00
compose.libsonnet initial commit 2020-07-29 14:53:46 +01:00
package.json chore(release): 0.0.19 2020-07-29 20:48:44 +01:00
yarn.lock . 2020-07-29 20:09:10 +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)