compose/README.md

13 lines
190 B
Markdown
Raw Normal View History

2020-07-29 13:47:06 +00:00
# compose
2020-07-29 19:09:10 +00:00
functional composition for jsonnet
2020-07-29 14:07:30 +00:00
```jsonnet
local compose = import 'node_modules/jsonnet-compose/compose.libsonnet';
compose([
function(x) x+1,
function(x) x+2,
])(1)
```