From ff3e7db24266c982b3414a57281d32ce90aa27fd Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Sun, 17 May 2020 12:42:11 +0300 Subject: [PATCH] Make example point-free --- README.md | 16 ++++++++-------- docs/index.html | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 440f698..9fe162c 100644 --- a/README.md +++ b/README.md @@ -309,15 +309,15 @@ I.seq( XHR.chain( L.traverse( XHR.Parallel, - issues => - I.seq( - XHR.performJson(issues.replace(/{.*}$/, '')), - XHR.map( - L.collect( - L.limit(3, L.flat(L.pick({title: 'title', url: 'html_url'}))) - ) + R.pipe( + R.replace(/{.*}$/, ''), + XHR.performJson, + XHR.map( + L.collect( + L.limit(3, L.flat(L.pick({title: 'title', url: 'html_url'}))) ) - ), + ) + ), [L.elems, 'issues'] ) ), diff --git a/docs/index.html b/docs/index.html index a649a8d..61e42be 100644 --- a/docs/index.html +++ b/docs/index.html @@ -368,15 +368,15 @@