From 4c62cd9e45cde77cf8001a079ddbaa16100905db Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Wed, 29 Jul 2020 15:07:30 +0100 Subject: [PATCH] updated read me --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d87a7c0..2db7525 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # compose -functional composition \ No newline at end of file +functional composition + +```jsonnet +local compose = import 'node_modules/jsonnet-compose/compose.libsonnet'; + +compose([ + function(x) x+1, + function(x) x+2, +])(1) +```