{"action":"created","comment":{"url":"https://api.github.com/repos/evilsoft/crocks/pulls/comments/228344891","pull_request_review_id":168599284,"id":228344891,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODM0NDg5MQ==","diff_hunk":"@@ -0,0 +1,17 @@\n+/** @license ISC License (c) copyright 2016 original and current authors */\n+/** @author Matt Ross (amsross) */\n+\n+const curry = require('../helpers/curry')\n+const isFunction = require('../predicates/isFunction')\n+\n+// converge (Phoenix or Starling Prime)\n+// (b -> c -> d) -> (a -> b) -> (a -> c) -> a -> d\n+function converge(f, g, h, x) {\n+  if(!isFunction(f) || !isFunction(g) || !isFunction(h)) {\n+    throw new TypeError('converge: Functions required for first two arguments')","path":"src/combinators/converge.js","position":11,"original_position":11,"commit_id":"76c73069b33db6d775cf7988011b347c37545a4d","original_commit_id":"76c73069b33db6d775cf7988011b347c37545a4d","user":{"login":"evilsoft","id":3665793,"node_id":"MDQ6VXNlcjM2NjU3OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3665793?v=4","gravatar_id":"","url":"https://api.github.com/users/evilsoft","html_url":"https://github.com/evilsoft","followers_url":"https://api.github.com/users/evilsoft/followers","following_url":"https://api.github.com/users/evilsoft/following{/other_user}","gists_url":"https://api.github.com/users/evilsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/evilsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilsoft/subscriptions","organizations_url":"https://api.github.com/users/evilsoft/orgs","repos_url":"https://api.github.com/users/evilsoft/repos","events_url":"https://api.github.com/users/evilsoft/events{/privacy}","received_events_url":"https://api.github.com/users/evilsoft/received_events","type":"User","site_admin":false},"body":"Should read \"for first *three* arguments\"","created_at":"2018-10-25T21:43:29Z","updated_at":"2018-10-25T21:43:29Z","html_url":"https://github.com/evilsoft/crocks/pull/333#discussion_r228344891","pull_request_url":"https://api.github.com/repos/evilsoft/crocks/pulls/333","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/evilsoft/crocks/pulls/comments/228344891"},"html":{"href":"https://github.com/evilsoft/crocks/pull/333#discussion_r228344891"},"pull_request":{"href":"https://api.github.com/repos/evilsoft/crocks/pulls/333"}}},"pull_request":{"url":"https://api.github.com/repos/evilsoft/crocks/pulls/333","id":225846697,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1ODQ2Njk3","html_url":"https://github.com/evilsoft/crocks/pull/333","diff_url":"https://github.com/evilsoft/crocks/pull/333.diff","patch_url":"https://github.com/evilsoft/crocks/pull/333.patch","issue_url":"https://api.github.com/repos/evilsoft/crocks/issues/333","number":333,"state":"open","locked":false,"title":"Add converge (Phoenix) to combinators.","user":{"login":"amsross","id":450220,"node_id":"MDQ6VXNlcjQ1MDIyMA==","avatar_url":"https://avatars0.githubusercontent.com/u/450220?v=4","gravatar_id":"","url":"https://api.github.com/users/amsross","html_url":"https://github.com/amsross","followers_url":"https://api.github.com/users/amsross/followers","following_url":"https://api.github.com/users/amsross/following{/other_user}","gists_url":"https://api.github.com/users/amsross/gists{/gist_id}","starred_url":"https://api.github.com/users/amsross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amsross/subscriptions","organizations_url":"https://api.github.com/users/amsross/orgs","repos_url":"https://api.github.com/users/amsross/repos","events_url":"https://api.github.com/users/amsross/events{/privacy}","received_events_url":"https://api.github.com/users/amsross/received_events","type":"User","site_admin":false},"body":"Add a Phoenix (Starling Prime) combinator.\r\n\r\n`phoenix :: (b -> c -> d) -> (a -> b) -> (a -> c) -> a -> d`\r\n\r\nre:\r\n* https://hackage.haskell.org/package/data-aviary-0.4.0/docs/Data-Aviary-Birds.html#v:phoenix\r\n* https://github.com/fantasyland/fantasy-birds#phoenix--b---c---d---a---b---a---c---a---d\r\n* https://ramdajs.com/docs/#converge\r\n\r\neg:\r\n```\r\n  const result = converge(concat, reverse, toUpperCase, 'foo') // => 'oofFOO'\r\n```","created_at":"2018-10-25T17:44:36Z","updated_at":"2018-10-25T21:43:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd31251e14341e3e708962160f1a99e22a716e5c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/evilsoft/crocks/pulls/333/commits","review_comments_url":"https://api.github.com/repos/evilsoft/crocks/pulls/333/comments","review_comment_url":"https://api.github.com/repos/evilsoft/crocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evilsoft/crocks/issues/333/comments","statuses_url":"https://api.github.com/repos/evilsoft/crocks/statuses/76c73069b33db6d775cf7988011b347c37545a4d","head":{"label":"amsross:add-converge-combinator","ref":"add-converge-combinator","sha":"76c73069b33db6d775cf7988011b347c37545a4d","user":{"login":"amsross","id":450220,"node_id":"MDQ6VXNlcjQ1MDIyMA==","avatar_url":"https://avatars0.githubusercontent.com/u/450220?v=4","gravatar_id":"","url":"https://api.github.com/users/amsross","html_url":"https://github.com/amsross","followers_url":"https://api.github.com/users/amsross/followers","following_url":"https://api.github.com/users/amsross/following{/other_user}","gists_url":"https://api.github.com/users/amsross/gists{/gist_id}","starred_url":"https://api.github.com/users/amsross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amsross/subscriptions","organizations_url":"https://api.github.com/users/amsross/orgs","repos_url":"https://api.github.com/users/amsross/repos","events_url":"https://api.github.com/users/amsross/events{/privacy}","received_events_url":"https://api.github.com/users/amsross/received_events","type":"User","site_admin":false},"repo":{"id":90684800,"node_id":"MDEwOlJlcG9zaXRvcnk5MDY4NDgwMA==","name":"crocks","full_name":"amsross/crocks","private":false,"owner":{"login":"amsross","id":450220,"node_id":"MDQ6VXNlcjQ1MDIyMA==","avatar_url":"https://avatars0.githubusercontent.com/u/450220?v=4","gravatar_id":"","url":"https://api.github.com/users/amsross","html_url":"https://github.com/amsross","followers_url":"https://api.github.com/users/amsross/followers","following_url":"https://api.github.com/users/amsross/following{/other_user}","gists_url":"https://api.github.com/users/amsross/gists{/gist_id}","starred_url":"https://api.github.com/users/amsross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amsross/subscriptions","organizations_url":"https://api.github.com/users/amsross/orgs","repos_url":"https://api.github.com/users/amsross/repos","events_url":"https://api.github.com/users/amsross/events{/privacy}","received_events_url":"https://api.github.com/users/amsross/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amsross/crocks","description":"A collection of well known Monadic Containers for your utter enjoyment.","fork":true,"url":"https://api.github.com/repos/amsross/crocks","forks_url":"https://api.github.com/repos/amsross/crocks/forks","keys_url":"https://api.github.com/repos/amsross/crocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amsross/crocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amsross/crocks/teams","hooks_url":"https://api.github.com/repos/amsross/crocks/hooks","issue_events_url":"https://api.github.com/repos/amsross/crocks/issues/events{/number}","events_url":"https://api.github.com/repos/amsross/crocks/events","assignees_url":"https://api.github.com/repos/amsross/crocks/assignees{/user}","branches_url":"https://api.github.com/repos/amsross/crocks/branches{/branch}","tags_url":"https://api.github.com/repos/amsross/crocks/tags","blobs_url":"https://api.github.com/repos/amsross/crocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amsross/crocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amsross/crocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/amsross/crocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amsross/crocks/statuses/{sha}","languages_url":"https://api.github.com/repos/amsross/crocks/languages","stargazers_url":"https://api.github.com/repos/amsross/crocks/stargazers","contributors_url":"https://api.github.com/repos/amsross/crocks/contributors","subscribers_url":"https://api.github.com/repos/amsross/crocks/subscribers","subscription_url":"https://api.github.com/repos/amsross/crocks/subscription","commits_url":"https://api.github.com/repos/amsross/crocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/amsross/crocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/amsross/crocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/amsross/crocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/amsross/crocks/contents/{+path}","compare_url":"https://api.github.com/repos/amsross/crocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amsross/crocks/merges","archive_url":"https://api.github.com/repos/amsross/crocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amsross/crocks/downloads","issues_url":"https://api.github.com/repos/amsross/crocks/issues{/number}","pulls_url":"https://api.github.com/repos/amsross/crocks/pulls{/number}","milestones_url":"https://api.github.com/repos/amsross/crocks/milestones{/number}","notifications_url":"https://api.github.com/repos/amsross/crocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amsross/crocks/labels{/name}","releases_url":"https://api.github.com/repos/amsross/crocks/releases{/id}","deployments_url":"https://api.github.com/repos/amsross/crocks/deployments","created_at":"2017-05-09T00:30:43Z","updated_at":"2018-10-25T17:45:53Z","pushed_at":"2018-10-25T21:26:36Z","git_url":"git://github.com/amsross/crocks.git","ssh_url":"git@github.com:amsross/crocks.git","clone_url":"https://github.com/amsross/crocks.git","svn_url":"https://github.com/amsross/crocks","homepage":null,"size":2651,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"evilsoft:master","ref":"master","sha":"df484e221bfb922dd530bb6c4f3548561151ac89","user":{"login":"evilsoft","id":3665793,"node_id":"MDQ6VXNlcjM2NjU3OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3665793?v=4","gravatar_id":"","url":"https://api.github.com/users/evilsoft","html_url":"https://github.com/evilsoft","followers_url":"https://api.github.com/users/evilsoft/followers","following_url":"https://api.github.com/users/evilsoft/following{/other_user}","gists_url":"https://api.github.com/users/evilsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/evilsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilsoft/subscriptions","organizations_url":"https://api.github.com/users/evilsoft/orgs","repos_url":"https://api.github.com/users/evilsoft/repos","events_url":"https://api.github.com/users/evilsoft/events{/privacy}","received_events_url":"https://api.github.com/users/evilsoft/received_events","type":"User","site_admin":false},"repo":{"id":62473217,"node_id":"MDEwOlJlcG9zaXRvcnk2MjQ3MzIxNw==","name":"crocks","full_name":"evilsoft/crocks","private":false,"owner":{"login":"evilsoft","id":3665793,"node_id":"MDQ6VXNlcjM2NjU3OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3665793?v=4","gravatar_id":"","url":"https://api.github.com/users/evilsoft","html_url":"https://github.com/evilsoft","followers_url":"https://api.github.com/users/evilsoft/followers","following_url":"https://api.github.com/users/evilsoft/following{/other_user}","gists_url":"https://api.github.com/users/evilsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/evilsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilsoft/subscriptions","organizations_url":"https://api.github.com/users/evilsoft/orgs","repos_url":"https://api.github.com/users/evilsoft/repos","events_url":"https://api.github.com/users/evilsoft/events{/privacy}","received_events_url":"https://api.github.com/users/evilsoft/received_events","type":"User","site_admin":false},"html_url":"https://github.com/evilsoft/crocks","description":"A collection of well known Algebraic Data Types for your utter enjoyment.","fork":false,"url":"https://api.github.com/repos/evilsoft/crocks","forks_url":"https://api.github.com/repos/evilsoft/crocks/forks","keys_url":"https://api.github.com/repos/evilsoft/crocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evilsoft/crocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evilsoft/crocks/teams","hooks_url":"https://api.github.com/repos/evilsoft/crocks/hooks","issue_events_url":"https://api.github.com/repos/evilsoft/crocks/issues/events{/number}","events_url":"https://api.github.com/repos/evilsoft/crocks/events","assignees_url":"https://api.github.com/repos/evilsoft/crocks/assignees{/user}","branches_url":"https://api.github.com/repos/evilsoft/crocks/branches{/branch}","tags_url":"https://api.github.com/repos/evilsoft/crocks/tags","blobs_url":"https://api.github.com/repos/evilsoft/crocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evilsoft/crocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evilsoft/crocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/evilsoft/crocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evilsoft/crocks/statuses/{sha}","languages_url":"https://api.github.com/repos/evilsoft/crocks/languages","stargazers_url":"https://api.github.com/repos/evilsoft/crocks/stargazers","contributors_url":"https://api.github.com/repos/evilsoft/crocks/contributors","subscribers_url":"https://api.github.com/repos/evilsoft/crocks/subscribers","subscription_url":"https://api.github.com/repos/evilsoft/crocks/subscription","commits_url":"https://api.github.com/repos/evilsoft/crocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/evilsoft/crocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/evilsoft/crocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/evilsoft/crocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/evilsoft/crocks/contents/{+path}","compare_url":"https://api.github.com/repos/evilsoft/crocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evilsoft/crocks/merges","archive_url":"https://api.github.com/repos/evilsoft/crocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evilsoft/crocks/downloads","issues_url":"https://api.github.com/repos/evilsoft/crocks/issues{/number}","pulls_url":"https://api.github.com/repos/evilsoft/crocks/pulls{/number}","milestones_url":"https://api.github.com/repos/evilsoft/crocks/milestones{/number}","notifications_url":"https://api.github.com/repos/evilsoft/crocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evilsoft/crocks/labels{/name}","releases_url":"https://api.github.com/repos/evilsoft/crocks/releases{/id}","deployments_url":"https://api.github.com/repos/evilsoft/crocks/deployments","created_at":"2016-07-02T23:13:18Z","updated_at":"2018-10-23T19:51:03Z","pushed_at":"2018-10-25T21:26:37Z","git_url":"git://github.com/evilsoft/crocks.git","ssh_url":"git@github.com:evilsoft/crocks.git","clone_url":"https://github.com/evilsoft/crocks.git","svn_url":"https://github.com/evilsoft/crocks","homepage":"https://evilsoft.github.io/crocks/","size":6811,"stargazers_count":732,"watchers_count":732,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":51,"open_issues":36,"watchers":732,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evilsoft/crocks/pulls/333"},"html":{"href":"https://github.com/evilsoft/crocks/pull/333"},"issue":{"href":"https://api.github.com/repos/evilsoft/crocks/issues/333"},"comments":{"href":"https://api.github.com/repos/evilsoft/crocks/issues/333/comments"},"review_comments":{"href":"https://api.github.com/repos/evilsoft/crocks/pulls/333/comments"},"review_comment":{"href":"https://api.github.com/repos/evilsoft/crocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evilsoft/crocks/pulls/333/commits"},"statuses":{"href":"https://api.github.com/repos/evilsoft/crocks/statuses/76c73069b33db6d775cf7988011b347c37545a4d"}},"author_association":"NONE"}}
{"actor":{"display_login":"evilsoft"}}