updated read me

This commit is contained in:
Giles Bradshaw 2020-07-29 15:07:30 +01:00
parent fe42a75907
commit 4c62cd9e45
1 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
# compose
functional composition
functional composition
```jsonnet
local compose = import 'node_modules/jsonnet-compose/compose.libsonnet';
compose([
function(x) x+1,
function(x) x+2,
])(1)
```