From 102809f9e23f728d947fbcefd5dacf1373574f0b Mon Sep 17 00:00:00 2001 From: Renaud TERTRAIS Date: Tue, 26 Jul 2016 16:00:57 +0200 Subject: [PATCH] Add an another example for lift (#79) I found it quite confusing at first sight. Perhaps it would be useful for futur readers to have a second example. --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 2834296..9d9335f 100644 --- a/readme.md +++ b/readme.md @@ -327,6 +327,7 @@ Unlike map lift can be used to combine values from multiple arrays: ```js lift((a, b) => a * b)([1, 2], [3]); // [3, 6] +lift((a, b) => a * b)([1, 2], [3, 4]); // [3, 6, 4, 8] ``` ## Referential Transparency