Skip to content

Commit

Permalink
Make example point-free
Browse files Browse the repository at this point in the history
  • Loading branch information
polytypic committed May 17, 2020
1 parent 7677015 commit ff3e7db
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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']
)
),
Expand Down
16 changes: 8 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,15 @@ <h4 id="a-idalgebrasa-≡-■-algebras"><a id="algebras"></a> <a href="#contents
XHR.chain(
L.traverse(
XHR.Parallel,
issues =&gt;
I.seq(
XHR.performJson(issues.replace(/{.*}$/, &#39;&#39;)),
XHR.map(
L.collect(
L.limit(3, L.flat(L.pick({title: &#39;title&#39;, url: &#39;html_url&#39;})))
)
R.pipe(
R.replace(/{.*}$/, &#39;&#39;),
XHR.performJson,
XHR.map(
L.collect(
L.limit(3, L.flat(L.pick({title: &#39;title&#39;, url: &#39;html_url&#39;})))
)
),
)
),
[L.elems, &#39;issues&#39;]
)
),
Expand Down

0 comments on commit ff3e7db

Please sign in to comment.