{"action":"closed","number":14535,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/14535","id":54909536,"html_url":"https://github.com/JuliaLang/julia/pull/14535","diff_url":"https://github.com/JuliaLang/julia/pull/14535.diff","patch_url":"https://github.com/JuliaLang/julia/pull/14535.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/14535","number":14535,"state":"closed","locked":false,"title":"Rename internal `int.jl` type tuples and unions for clarity","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"body":"`Base/int.jl` uses internally certain tuples and unions of various `[U]Int{8,116,32,64,128}`. I found the current naming scheme somewhat confusing; e.g. `IntTypes` was a tuple whereas  `SignedIntTypes` was a union.\r\n\r\nRename these for consistency:\r\n- Invent name `BitInteger` for all these types\r\n- For tuples, use suffix `Types` (used only for iterating over types)\r\n- For unions, use neither `Union` prefix nor `Types` suffix\r\n- Add some missing cases\r\n\r\n- When using these, prefer using unions over splatting tuples.\r\n- Clean up some places where these can be used naturally, e.g. in respective test cases.","created_at":"2016-01-02T17:47:37Z","updated_at":"2016-01-25T17:59:53Z","closed_at":"2016-01-25T17:59:53Z","merged_at":"2016-01-25T17:59:53Z","merge_commit_sha":"846f80c05b3dbdd96deda631ec7867cb161c8240","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/14535/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/14535/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/14535/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/266557435098bf524720de97516ad89e3f65557a","head":{"label":"eschnett:eschnett/bit-int-types","ref":"eschnett/bit-int-types","sha":"266557435098bf524720de97516ad89e3f65557a","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"repo":{"id":23268889,"name":"julia","full_name":"eschnett/julia","owner":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eschnett/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/eschnett/julia","forks_url":"https://api.github.com/repos/eschnett/julia/forks","keys_url":"https://api.github.com/repos/eschnett/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eschnett/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eschnett/julia/teams","hooks_url":"https://api.github.com/repos/eschnett/julia/hooks","issue_events_url":"https://api.github.com/repos/eschnett/julia/issues/events{/number}","events_url":"https://api.github.com/repos/eschnett/julia/events","assignees_url":"https://api.github.com/repos/eschnett/julia/assignees{/user}","branches_url":"https://api.github.com/repos/eschnett/julia/branches{/branch}","tags_url":"https://api.github.com/repos/eschnett/julia/tags","blobs_url":"https://api.github.com/repos/eschnett/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eschnett/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eschnett/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/eschnett/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eschnett/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/eschnett/julia/languages","stargazers_url":"https://api.github.com/repos/eschnett/julia/stargazers","contributors_url":"https://api.github.com/repos/eschnett/julia/contributors","subscribers_url":"https://api.github.com/repos/eschnett/julia/subscribers","subscription_url":"https://api.github.com/repos/eschnett/julia/subscription","commits_url":"https://api.github.com/repos/eschnett/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/eschnett/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/eschnett/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/eschnett/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/eschnett/julia/contents/{+path}","compare_url":"https://api.github.com/repos/eschnett/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eschnett/julia/merges","archive_url":"https://api.github.com/repos/eschnett/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eschnett/julia/downloads","issues_url":"https://api.github.com/repos/eschnett/julia/issues{/number}","pulls_url":"https://api.github.com/repos/eschnett/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/eschnett/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/eschnett/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eschnett/julia/labels{/name}","releases_url":"https://api.github.com/repos/eschnett/julia/releases{/id}","deployments_url":"https://api.github.com/repos/eschnett/julia/deployments","created_at":"2014-08-23T23:50:07Z","updated_at":"2015-02-03T13:25:37Z","pushed_at":"2016-01-06T16:00:49Z","git_url":"git://github.com/eschnett/julia.git","ssh_url":"git@github.com:eschnett/julia.git","clone_url":"https://github.com/eschnett/julia.git","svn_url":"https://github.com/eschnett/julia","homepage":"http://julialang.org/","size":88283,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"OSX"}},"base":{"label":"JuliaLang:master","ref":"master","sha":"ce1e856975af4dc8fc12dac8f5526c92feda60cb","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaLang/julia/deployments","created_at":"2011-04-21T07:01:50Z","updated_at":"2016-01-25T16:39:08Z","pushed_at":"2016-01-25T17:59:53Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":119940,"stargazers_count":6625,"watchers_count":6625,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1481,"mirror_url":null,"open_issues_count":1608,"forks":1481,"open_issues":1608,"watchers":6625,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/14535"},"html":{"href":"https://github.com/JuliaLang/julia/pull/14535"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/14535"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/14535/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/14535/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/14535/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/266557435098bf524720de97516ad89e3f65557a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vtjnash","id":330950,"avatar_url":"https://avatars.githubusercontent.com/u/330950?v=3","gravatar_id":"","url":"https://api.github.com/users/vtjnash","html_url":"https://github.com/vtjnash","followers_url":"https://api.github.com/users/vtjnash/followers","following_url":"https://api.github.com/users/vtjnash/following{/other_user}","gists_url":"https://api.github.com/users/vtjnash/gists{/gist_id}","starred_url":"https://api.github.com/users/vtjnash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtjnash/subscriptions","organizations_url":"https://api.github.com/users/vtjnash/orgs","repos_url":"https://api.github.com/users/vtjnash/repos","events_url":"https://api.github.com/users/vtjnash/events{/privacy}","received_events_url":"https://api.github.com/users/vtjnash/received_events","type":"User","site_admin":false},"comments":9,"review_comments":1,"commits":1,"additions":65,"deletions":70,"changed_files":7}}