{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/antitypical/Manifold/pulls/48","id":34319838,"html_url":"https://github.com/antitypical/Manifold/pull/48","diff_url":"https://github.com/antitypical/Manifold/pull/48.diff","patch_url":"https://github.com/antitypical/Manifold/pull/48.patch","issue_url":"https://api.github.com/repos/antitypical/Manifold/issues/48","number":48,"state":"open","locked":false,"title":"Inference fixes","user":{"login":"robrix","id":59671,"avatar_url":"https://avatars.githubusercontent.com/u/59671?v=3","gravatar_id":"","url":"https://api.github.com/users/robrix","html_url":"https://github.com/robrix","followers_url":"https://api.github.com/users/robrix/followers","following_url":"https://api.github.com/users/robrix/following{/other_user}","gists_url":"https://api.github.com/users/robrix/gists{/gist_id}","starred_url":"https://api.github.com/users/robrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrix/subscriptions","organizations_url":"https://api.github.com/users/robrix/orgs","repos_url":"https://api.github.com/users/robrix/repos","events_url":"https://api.github.com/users/robrix/events{/privacy}","received_events_url":"https://api.github.com/users/robrix/received_events","type":"User","site_admin":true},"body":"This is a bit of a hack to fix to an issue occurring in Tesseract, but it works: we sort variables ahead of type constructors so unifying will select them first.","created_at":"2015-04-28T22:54:31Z","updated_at":"2015-04-28T22:54:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/antitypical/Manifold/pulls/48/commits","review_comments_url":"https://api.github.com/repos/antitypical/Manifold/pulls/48/comments","review_comment_url":"https://api.github.com/repos/antitypical/Manifold/pulls/comments{/number}","comments_url":"https://api.github.com/repos/antitypical/Manifold/issues/48/comments","statuses_url":"https://api.github.com/repos/antitypical/Manifold/statuses/83457f1a5c429ba5e44ab421a64b1b46674d35f7","head":{"label":"antitypical:inference-fixes","ref":"inference-fixes","sha":"83457f1a5c429ba5e44ab421a64b1b46674d35f7","user":{"login":"antitypical","id":6732310,"avatar_url":"https://avatars.githubusercontent.com/u/6732310?v=3","gravatar_id":"","url":"https://api.github.com/users/antitypical","html_url":"https://github.com/antitypical","followers_url":"https://api.github.com/users/antitypical/followers","following_url":"https://api.github.com/users/antitypical/following{/other_user}","gists_url":"https://api.github.com/users/antitypical/gists{/gist_id}","starred_url":"https://api.github.com/users/antitypical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antitypical/subscriptions","organizations_url":"https://api.github.com/users/antitypical/orgs","repos_url":"https://api.github.com/users/antitypical/repos","events_url":"https://api.github.com/users/antitypical/events{/privacy}","received_events_url":"https://api.github.com/users/antitypical/received_events","type":"Organization","site_admin":false},"repo":{"id":30390718,"name":"Manifold","full_name":"antitypical/Manifold","owner":{"login":"antitypical","id":6732310,"avatar_url":"https://avatars.githubusercontent.com/u/6732310?v=3","gravatar_id":"","url":"https://api.github.com/users/antitypical","html_url":"https://github.com/antitypical","followers_url":"https://api.github.com/users/antitypical/followers","following_url":"https://api.github.com/users/antitypical/following{/other_user}","gists_url":"https://api.github.com/users/antitypical/gists{/gist_id}","starred_url":"https://api.github.com/users/antitypical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antitypical/subscriptions","organizations_url":"https://api.github.com/users/antitypical/orgs","repos_url":"https://api.github.com/users/antitypical/repos","events_url":"https://api.github.com/users/antitypical/events{/privacy}","received_events_url":"https://api.github.com/users/antitypical/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/antitypical/Manifold","description":"Type-inference and -checking in Swift, for research and for Tesseract.","fork":false,"url":"https://api.github.com/repos/antitypical/Manifold","forks_url":"https://api.github.com/repos/antitypical/Manifold/forks","keys_url":"https://api.github.com/repos/antitypical/Manifold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antitypical/Manifold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antitypical/Manifold/teams","hooks_url":"https://api.github.com/repos/antitypical/Manifold/hooks","issue_events_url":"https://api.github.com/repos/antitypical/Manifold/issues/events{/number}","events_url":"https://api.github.com/repos/antitypical/Manifold/events","assignees_url":"https://api.github.com/repos/antitypical/Manifold/assignees{/user}","branches_url":"https://api.github.com/repos/antitypical/Manifold/branches{/branch}","tags_url":"https://api.github.com/repos/antitypical/Manifold/tags","blobs_url":"https://api.github.com/repos/antitypical/Manifold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antitypical/Manifold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antitypical/Manifold/git/refs{/sha}","trees_url":"https://api.github.com/repos/antitypical/Manifold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antitypical/Manifold/statuses/{sha}","languages_url":"https://api.github.com/repos/antitypical/Manifold/languages","stargazers_url":"https://api.github.com/repos/antitypical/Manifold/stargazers","contributors_url":"https://api.github.com/repos/antitypical/Manifold/contributors","subscribers_url":"https://api.github.com/repos/antitypical/Manifold/subscribers","subscription_url":"https://api.github.com/repos/antitypical/Manifold/subscription","commits_url":"https://api.github.com/repos/antitypical/Manifold/commits{/sha}","git_commits_url":"https://api.github.com/repos/antitypical/Manifold/git/commits{/sha}","comments_url":"https://api.github.com/repos/antitypical/Manifold/comments{/number}","issue_comment_url":"https://api.github.com/repos/antitypical/Manifold/issues/comments{/number}","contents_url":"https://api.github.com/repos/antitypical/Manifold/contents/{+path}","compare_url":"https://api.github.com/repos/antitypical/Manifold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antitypical/Manifold/merges","archive_url":"https://api.github.com/repos/antitypical/Manifold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antitypical/Manifold/downloads","issues_url":"https://api.github.com/repos/antitypical/Manifold/issues{/number}","pulls_url":"https://api.github.com/repos/antitypical/Manifold/pulls{/number}","milestones_url":"https://api.github.com/repos/antitypical/Manifold/milestones{/number}","notifications_url":"https://api.github.com/repos/antitypical/Manifold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antitypical/Manifold/labels{/name}","releases_url":"https://api.github.com/repos/antitypical/Manifold/releases{/id}","created_at":"2015-02-06T02:29:17Z","updated_at":"2015-04-28T03:57:56Z","pushed_at":"2015-04-28T03:57:55Z","git_url":"git://github.com/antitypical/Manifold.git","ssh_url":"git@github.com:antitypical/Manifold.git","clone_url":"https://github.com/antitypical/Manifold.git","svn_url":"https://github.com/antitypical/Manifold","homepage":"","size":816,"stargazers_count":6,"watchers_count":6,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":6,"default_branch":"master"}},"base":{"label":"antitypical:master","ref":"master","sha":"2d5237a021b4abb5b7557e303539e2ca53677edc","user":{"login":"antitypical","id":6732310,"avatar_url":"https://avatars.githubusercontent.com/u/6732310?v=3","gravatar_id":"","url":"https://api.github.com/users/antitypical","html_url":"https://github.com/antitypical","followers_url":"https://api.github.com/users/antitypical/followers","following_url":"https://api.github.com/users/antitypical/following{/other_user}","gists_url":"https://api.github.com/users/antitypical/gists{/gist_id}","starred_url":"https://api.github.com/users/antitypical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antitypical/subscriptions","organizations_url":"https://api.github.com/users/antitypical/orgs","repos_url":"https://api.github.com/users/antitypical/repos","events_url":"https://api.github.com/users/antitypical/events{/privacy}","received_events_url":"https://api.github.com/users/antitypical/received_events","type":"Organization","site_admin":false},"repo":{"id":30390718,"name":"Manifold","full_name":"antitypical/Manifold","owner":{"login":"antitypical","id":6732310,"avatar_url":"https://avatars.githubusercontent.com/u/6732310?v=3","gravatar_id":"","url":"https://api.github.com/users/antitypical","html_url":"https://github.com/antitypical","followers_url":"https://api.github.com/users/antitypical/followers","following_url":"https://api.github.com/users/antitypical/following{/other_user}","gists_url":"https://api.github.com/users/antitypical/gists{/gist_id}","starred_url":"https://api.github.com/users/antitypical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antitypical/subscriptions","organizations_url":"https://api.github.com/users/antitypical/orgs","repos_url":"https://api.github.com/users/antitypical/repos","events_url":"https://api.github.com/users/antitypical/events{/privacy}","received_events_url":"https://api.github.com/users/antitypical/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/antitypical/Manifold","description":"Type-inference and -checking in Swift, for research and for Tesseract.","fork":false,"url":"https://api.github.com/repos/antitypical/Manifold","forks_url":"https://api.github.com/repos/antitypical/Manifold/forks","keys_url":"https://api.github.com/repos/antitypical/Manifold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antitypical/Manifold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antitypical/Manifold/teams","hooks_url":"https://api.github.com/repos/antitypical/Manifold/hooks","issue_events_url":"https://api.github.com/repos/antitypical/Manifold/issues/events{/number}","events_url":"https://api.github.com/repos/antitypical/Manifold/events","assignees_url":"https://api.github.com/repos/antitypical/Manifold/assignees{/user}","branches_url":"https://api.github.com/repos/antitypical/Manifold/branches{/branch}","tags_url":"https://api.github.com/repos/antitypical/Manifold/tags","blobs_url":"https://api.github.com/repos/antitypical/Manifold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antitypical/Manifold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antitypical/Manifold/git/refs{/sha}","trees_url":"https://api.github.com/repos/antitypical/Manifold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antitypical/Manifold/statuses/{sha}","languages_url":"https://api.github.com/repos/antitypical/Manifold/languages","stargazers_url":"https://api.github.com/repos/antitypical/Manifold/stargazers","contributors_url":"https://api.github.com/repos/antitypical/Manifold/contributors","subscribers_url":"https://api.github.com/repos/antitypical/Manifold/subscribers","subscription_url":"https://api.github.com/repos/antitypical/Manifold/subscription","commits_url":"https://api.github.com/repos/antitypical/Manifold/commits{/sha}","git_commits_url":"https://api.github.com/repos/antitypical/Manifold/git/commits{/sha}","comments_url":"https://api.github.com/repos/antitypical/Manifold/comments{/number}","issue_comment_url":"https://api.github.com/repos/antitypical/Manifold/issues/comments{/number}","contents_url":"https://api.github.com/repos/antitypical/Manifold/contents/{+path}","compare_url":"https://api.github.com/repos/antitypical/Manifold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antitypical/Manifold/merges","archive_url":"https://api.github.com/repos/antitypical/Manifold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antitypical/Manifold/downloads","issues_url":"https://api.github.com/repos/antitypical/Manifold/issues{/number}","pulls_url":"https://api.github.com/repos/antitypical/Manifold/pulls{/number}","milestones_url":"https://api.github.com/repos/antitypical/Manifold/milestones{/number}","notifications_url":"https://api.github.com/repos/antitypical/Manifold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antitypical/Manifold/labels{/name}","releases_url":"https://api.github.com/repos/antitypical/Manifold/releases{/id}","created_at":"2015-02-06T02:29:17Z","updated_at":"2015-04-28T03:57:56Z","pushed_at":"2015-04-28T03:57:55Z","git_url":"git://github.com/antitypical/Manifold.git","ssh_url":"git@github.com:antitypical/Manifold.git","clone_url":"https://github.com/antitypical/Manifold.git","svn_url":"https://github.com/antitypical/Manifold","homepage":"","size":816,"stargazers_count":6,"watchers_count":6,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/antitypical/Manifold/pulls/48"},"html":{"href":"https://github.com/antitypical/Manifold/pull/48"},"issue":{"href":"https://api.github.com/repos/antitypical/Manifold/issues/48"},"comments":{"href":"https://api.github.com/repos/antitypical/Manifold/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/antitypical/Manifold/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/antitypical/Manifold/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/antitypical/Manifold/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/antitypical/Manifold/statuses/83457f1a5c429ba5e44ab421a64b1b46674d35f7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":6,"deletions":4,"changed_files":1}}