{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/johnynek/bosatsu/pulls/40","id":218171030,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MTcxMDMw","html_url":"https://github.com/johnynek/bosatsu/pull/40","diff_url":"https://github.com/johnynek/bosatsu/pull/40.diff","patch_url":"https://github.com/johnynek/bosatsu/pull/40.patch","issue_url":"https://api.github.com/repos/johnynek/bosatsu/issues/40","number":40,"state":"closed","locked":false,"title":"Add If support to rank-n types","user":{"login":"johnynek","id":67958,"node_id":"MDQ6VXNlcjY3OTU4","avatar_url":"https://avatars0.githubusercontent.com/u/67958?v=4","gravatar_id":"","url":"https://api.github.com/users/johnynek","html_url":"https://github.com/johnynek","followers_url":"https://api.github.com/users/johnynek/followers","following_url":"https://api.github.com/users/johnynek/following{/other_user}","gists_url":"https://api.github.com/users/johnynek/gists{/gist_id}","starred_url":"https://api.github.com/users/johnynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnynek/subscriptions","organizations_url":"https://api.github.com/users/johnynek/orgs","repos_url":"https://api.github.com/users/johnynek/repos","events_url":"https://api.github.com/users/johnynek/events{/privacy}","received_events_url":"https://api.github.com/users/johnynek/received_events","type":"User","site_admin":false},"body":"This implements the suggestion from the paper on handling matches.\r\n\r\nHere we only support if, not a full match, which requires us to think about pattern matches.\r\n\r\nSome form of pattern matching will be next.","created_at":"2018-09-26T02:25:57Z","updated_at":"2018-09-26T06:29:58Z","closed_at":"2018-09-26T06:29:58Z","merged_at":"2018-09-26T06:29:58Z","merge_commit_sha":"6fecd8d9274ace42a685f5038961cc8498696f38","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/johnynek/bosatsu/pulls/40/commits","review_comments_url":"https://api.github.com/repos/johnynek/bosatsu/pulls/40/comments","review_comment_url":"https://api.github.com/repos/johnynek/bosatsu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnynek/bosatsu/issues/40/comments","statuses_url":"https://api.github.com/repos/johnynek/bosatsu/statuses/9a8433b811d147627b027d91725c00bd555114e0","head":{"label":"johnynek:oscar/rankn_if","ref":"oscar/rankn_if","sha":"9a8433b811d147627b027d91725c00bd555114e0","user":{"login":"johnynek","id":67958,"node_id":"MDQ6VXNlcjY3OTU4","avatar_url":"https://avatars0.githubusercontent.com/u/67958?v=4","gravatar_id":"","url":"https://api.github.com/users/johnynek","html_url":"https://github.com/johnynek","followers_url":"https://api.github.com/users/johnynek/followers","following_url":"https://api.github.com/users/johnynek/following{/other_user}","gists_url":"https://api.github.com/users/johnynek/gists{/gist_id}","starred_url":"https://api.github.com/users/johnynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnynek/subscriptions","organizations_url":"https://api.github.com/users/johnynek/orgs","repos_url":"https://api.github.com/users/johnynek/repos","events_url":"https://api.github.com/users/johnynek/events{/privacy}","received_events_url":"https://api.github.com/users/johnynek/received_events","type":"User","site_admin":false},"repo":{"id":107490085,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc0OTAwODU=","name":"bosatsu","full_name":"johnynek/bosatsu","private":false,"owner":{"login":"johnynek","id":67958,"node_id":"MDQ6VXNlcjY3OTU4","avatar_url":"https://avatars0.githubusercontent.com/u/67958?v=4","gravatar_id":"","url":"https://api.github.com/users/johnynek","html_url":"https://github.com/johnynek","followers_url":"https://api.github.com/users/johnynek/followers","following_url":"https://api.github.com/users/johnynek/following{/other_user}","gists_url":"https://api.github.com/users/johnynek/gists{/gist_id}","starred_url":"https://api.github.com/users/johnynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnynek/subscriptions","organizations_url":"https://api.github.com/users/johnynek/orgs","repos_url":"https://api.github.com/users/johnynek/repos","events_url":"https://api.github.com/users/johnynek/events{/privacy}","received_events_url":"https://api.github.com/users/johnynek/received_events","type":"User","site_admin":false},"html_url":"https://github.com/johnynek/bosatsu","description":"A python-ish pure and total functional programming language","fork":false,"url":"https://api.github.com/repos/johnynek/bosatsu","forks_url":"https://api.github.com/repos/johnynek/bosatsu/forks","keys_url":"https://api.github.com/repos/johnynek/bosatsu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnynek/bosatsu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnynek/bosatsu/teams","hooks_url":"https://api.github.com/repos/johnynek/bosatsu/hooks","issue_events_url":"https://api.github.com/repos/johnynek/bosatsu/issues/events{/number}","events_url":"https://api.github.com/repos/johnynek/bosatsu/events","assignees_url":"https://api.github.com/repos/johnynek/bosatsu/assignees{/user}","branches_url":"https://api.github.com/repos/johnynek/bosatsu/branches{/branch}","tags_url":"https://api.github.com/repos/johnynek/bosatsu/tags","blobs_url":"https://api.github.com/repos/johnynek/bosatsu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnynek/bosatsu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnynek/bosatsu/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnynek/bosatsu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnynek/bosatsu/statuses/{sha}","languages_url":"https://api.github.com/repos/johnynek/bosatsu/languages","stargazers_url":"https://api.github.com/repos/johnynek/bosatsu/stargazers","contributors_url":"https://api.github.com/repos/johnynek/bosatsu/contributors","subscribers_url":"https://api.github.com/repos/johnynek/bosatsu/subscribers","subscription_url":"https://api.github.com/repos/johnynek/bosatsu/subscription","commits_url":"https://api.github.com/repos/johnynek/bosatsu/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnynek/bosatsu/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnynek/bosatsu/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnynek/bosatsu/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnynek/bosatsu/contents/{+path}","compare_url":"https://api.github.com/repos/johnynek/bosatsu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnynek/bosatsu/merges","archive_url":"https://api.github.com/repos/johnynek/bosatsu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnynek/bosatsu/downloads","issues_url":"https://api.github.com/repos/johnynek/bosatsu/issues{/number}","pulls_url":"https://api.github.com/repos/johnynek/bosatsu/pulls{/number}","milestones_url":"https://api.github.com/repos/johnynek/bosatsu/milestones{/number}","notifications_url":"https://api.github.com/repos/johnynek/bosatsu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnynek/bosatsu/labels{/name}","releases_url":"https://api.github.com/repos/johnynek/bosatsu/releases{/id}","deployments_url":"https://api.github.com/repos/johnynek/bosatsu/deployments","created_at":"2017-10-19T02:48:28Z","updated_at":"2018-09-26T01:03:13Z","pushed_at":"2018-09-26T06:29:58Z","git_url":"git://github.com/johnynek/bosatsu.git","ssh_url":"git@github.com:johnynek/bosatsu.git","clone_url":"https://github.com/johnynek/bosatsu.git","svn_url":"https://github.com/johnynek/bosatsu","homepage":"","size":331,"stargazers_count":23,"watchers_count":23,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":23,"watchers":23,"default_branch":"master"}},"base":{"label":"johnynek:master","ref":"master","sha":"9128d420c420915e440650c065243524be29e862","user":{"login":"johnynek","id":67958,"node_id":"MDQ6VXNlcjY3OTU4","avatar_url":"https://avatars0.githubusercontent.com/u/67958?v=4","gravatar_id":"","url":"https://api.github.com/users/johnynek","html_url":"https://github.com/johnynek","followers_url":"https://api.github.com/users/johnynek/followers","following_url":"https://api.github.com/users/johnynek/following{/other_user}","gists_url":"https://api.github.com/users/johnynek/gists{/gist_id}","starred_url":"https://api.github.com/users/johnynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnynek/subscriptions","organizations_url":"https://api.github.com/users/johnynek/orgs","repos_url":"https://api.github.com/users/johnynek/repos","events_url":"https://api.github.com/users/johnynek/events{/privacy}","received_events_url":"https://api.github.com/users/johnynek/received_events","type":"User","site_admin":false},"repo":{"id":107490085,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc0OTAwODU=","name":"bosatsu","full_name":"johnynek/bosatsu","private":false,"owner":{"login":"johnynek","id":67958,"node_id":"MDQ6VXNlcjY3OTU4","avatar_url":"https://avatars0.githubusercontent.com/u/67958?v=4","gravatar_id":"","url":"https://api.github.com/users/johnynek","html_url":"https://github.com/johnynek","followers_url":"https://api.github.com/users/johnynek/followers","following_url":"https://api.github.com/users/johnynek/following{/other_user}","gists_url":"https://api.github.com/users/johnynek/gists{/gist_id}","starred_url":"https://api.github.com/users/johnynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnynek/subscriptions","organizations_url":"https://api.github.com/users/johnynek/orgs","repos_url":"https://api.github.com/users/johnynek/repos","events_url":"https://api.github.com/users/johnynek/events{/privacy}","received_events_url":"https://api.github.com/users/johnynek/received_events","type":"User","site_admin":false},"html_url":"https://github.com/johnynek/bosatsu","description":"A python-ish pure and total functional programming language","fork":false,"url":"https://api.github.com/repos/johnynek/bosatsu","forks_url":"https://api.github.com/repos/johnynek/bosatsu/forks","keys_url":"https://api.github.com/repos/johnynek/bosatsu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnynek/bosatsu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnynek/bosatsu/teams","hooks_url":"https://api.github.com/repos/johnynek/bosatsu/hooks","issue_events_url":"https://api.github.com/repos/johnynek/bosatsu/issues/events{/number}","events_url":"https://api.github.com/repos/johnynek/bosatsu/events","assignees_url":"https://api.github.com/repos/johnynek/bosatsu/assignees{/user}","branches_url":"https://api.github.com/repos/johnynek/bosatsu/branches{/branch}","tags_url":"https://api.github.com/repos/johnynek/bosatsu/tags","blobs_url":"https://api.github.com/repos/johnynek/bosatsu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnynek/bosatsu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnynek/bosatsu/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnynek/bosatsu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnynek/bosatsu/statuses/{sha}","languages_url":"https://api.github.com/repos/johnynek/bosatsu/languages","stargazers_url":"https://api.github.com/repos/johnynek/bosatsu/stargazers","contributors_url":"https://api.github.com/repos/johnynek/bosatsu/contributors","subscribers_url":"https://api.github.com/repos/johnynek/bosatsu/subscribers","subscription_url":"https://api.github.com/repos/johnynek/bosatsu/subscription","commits_url":"https://api.github.com/repos/johnynek/bosatsu/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnynek/bosatsu/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnynek/bosatsu/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnynek/bosatsu/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnynek/bosatsu/contents/{+path}","compare_url":"https://api.github.com/repos/johnynek/bosatsu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnynek/bosatsu/merges","archive_url":"https://api.github.com/repos/johnynek/bosatsu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnynek/bosatsu/downloads","issues_url":"https://api.github.com/repos/johnynek/bosatsu/issues{/number}","pulls_url":"https://api.github.com/repos/johnynek/bosatsu/pulls{/number}","milestones_url":"https://api.github.com/repos/johnynek/bosatsu/milestones{/number}","notifications_url":"https://api.github.com/repos/johnynek/bosatsu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnynek/bosatsu/labels{/name}","releases_url":"https://api.github.com/repos/johnynek/bosatsu/releases{/id}","deployments_url":"https://api.github.com/repos/johnynek/bosatsu/deployments","created_at":"2017-10-19T02:48:28Z","updated_at":"2018-09-26T01:03:13Z","pushed_at":"2018-09-26T06:29:58Z","git_url":"git://github.com/johnynek/bosatsu.git","ssh_url":"git@github.com:johnynek/bosatsu.git","clone_url":"https://github.com/johnynek/bosatsu.git","svn_url":"https://github.com/johnynek/bosatsu","homepage":"","size":331,"stargazers_count":23,"watchers_count":23,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":23,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johnynek/bosatsu/pulls/40"},"html":{"href":"https://github.com/johnynek/bosatsu/pull/40"},"issue":{"href":"https://api.github.com/repos/johnynek/bosatsu/issues/40"},"comments":{"href":"https://api.github.com/repos/johnynek/bosatsu/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/johnynek/bosatsu/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/johnynek/bosatsu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnynek/bosatsu/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/johnynek/bosatsu/statuses/9a8433b811d147627b027d91725c00bd555114e0"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"johnynek","id":67958,"node_id":"MDQ6VXNlcjY3OTU4","avatar_url":"https://avatars0.githubusercontent.com/u/67958?v=4","gravatar_id":"","url":"https://api.github.com/users/johnynek","html_url":"https://github.com/johnynek","followers_url":"https://api.github.com/users/johnynek/followers","following_url":"https://api.github.com/users/johnynek/following{/other_user}","gists_url":"https://api.github.com/users/johnynek/gists{/gist_id}","starred_url":"https://api.github.com/users/johnynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnynek/subscriptions","organizations_url":"https://api.github.com/users/johnynek/orgs","repos_url":"https://api.github.com/users/johnynek/repos","events_url":"https://api.github.com/users/johnynek/events{/privacy}","received_events_url":"https://api.github.com/users/johnynek/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":55,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"johnynek"}}