functional composition
Go to file
Giles d56b3b3f69 chore(release): 0.0.15 2020-07-29 19:28:32 +01:00
CHANGELOG.md chore(release): 0.0.15 2020-07-29 19:28:32 +01:00
LICENSE Initial commit 2020-07-29 13:47:06 +00:00
README.md updated read me 2020-07-29 15:07:30 +01:00
compose.libsonnet initial commit 2020-07-29 14:53:46 +01:00
package.json chore(release): 0.0.15 2020-07-29 19:28:32 +01:00

README.md

compose

functional composition

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

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