From 59ec770a88206d7e859187145596755a0d50a628 Mon Sep 17 00:00:00 2001 From: Aaron Jensen Date: Thu, 6 Aug 2015 20:13:46 -0700 Subject: [PATCH] Fix example in readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9f26df..e8520fb 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ var person = { }; var inc = function(i) { return i + 1; } +var eq = function(x) { return function(y) { return x == y } }; var newPerson = u({ // Change first name @@ -56,7 +57,7 @@ var newPerson = u({ // Update email email: 'bob@example.com', // Remove todo - todo: u.reject('Be funny'), + todo: u.reject(eq('Be funny')), // Increment version version: inc }, person);