{"action":"created","comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments/38587759","id":38587759,"diff_hunk":"@@ -369,7 +369,7 @@ defmodule Process do\n \n   See http://www.erlang.org/doc/man/erlang.html#process_info-2 for more info.\n   \"\"\"\n-  @spec info(pid, atom) :: {atom, term} | nil\n+  @spec info(pid, atom) :: {atom, term} | [{atom, term}]  | nil","path":"lib/elixir/lib/process.ex","position":5,"original_position":5,"commit_id":"2e24f62b5621f2c26b428d940e02bcf8dfaf66ab","original_commit_id":"2e24f62b5621f2c26b428d940e02bcf8dfaf66ab","user":{"login":"lexmag","id":248290,"avatar_url":"https://avatars.githubusercontent.com/u/248290?v=3","gravatar_id":"","url":"https://api.github.com/users/lexmag","html_url":"https://github.com/lexmag","followers_url":"https://api.github.com/users/lexmag/followers","following_url":"https://api.github.com/users/lexmag/following{/other_user}","gists_url":"https://api.github.com/users/lexmag/gists{/gist_id}","starred_url":"https://api.github.com/users/lexmag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexmag/subscriptions","organizations_url":"https://api.github.com/users/lexmag/orgs","repos_url":"https://api.github.com/users/lexmag/repos","events_url":"https://api.github.com/users/lexmag/events{/privacy}","received_events_url":"https://api.github.com/users/lexmag/received_events","type":"User","site_admin":false},"body":"Typespec misses new type for second argument: `..(pid, atom | [atom]) ::..`.","created_at":"2015-09-02T21:36:43Z","updated_at":"2015-09-02T21:36:43Z","html_url":"https://github.com/elixir-lang/elixir/pull/3659#discussion_r38587759","pull_request_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659","_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments/38587759"},"html":{"href":"https://github.com/elixir-lang/elixir/pull/3659#discussion_r38587759"},"pull_request":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659"}}},"pull_request":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659","id":44043505,"html_url":"https://github.com/elixir-lang/elixir/pull/3659","diff_url":"https://github.com/elixir-lang/elixir/pull/3659.diff","patch_url":"https://github.com/elixir-lang/elixir/pull/3659.patch","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3659","number":3659,"state":"open","locked":false,"title":"Allow list of spec in Process.info/2","user":{"login":"stevedomin","id":512246,"avatar_url":"https://avatars.githubusercontent.com/u/512246?v=3","gravatar_id":"","url":"https://api.github.com/users/stevedomin","html_url":"https://github.com/stevedomin","followers_url":"https://api.github.com/users/stevedomin/followers","following_url":"https://api.github.com/users/stevedomin/following{/other_user}","gists_url":"https://api.github.com/users/stevedomin/gists{/gist_id}","starred_url":"https://api.github.com/users/stevedomin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevedomin/subscriptions","organizations_url":"https://api.github.com/users/stevedomin/orgs","repos_url":"https://api.github.com/users/stevedomin/repos","events_url":"https://api.github.com/users/stevedomin/events{/privacy}","received_events_url":"https://api.github.com/users/stevedomin/received_events","type":"User","site_admin":false},"body":"I was working on adding `regs()` helper to IEx and realised passing multiple items to `Process.info/2` wasn't available in Elixir.\r\n\r\nThere might be a good reason why it's not here in the first place but I figured it would be fairly quick to add so I might as well do it.\r\n\r\nI'm not sure the typespec is correct, do I need to define a special type for `{atom, term}` and then use it in place of `{atom | term} | [{atom, term}]` ?","created_at":"2015-09-02T21:15:25Z","updated_at":"2015-09-02T21:36:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13fe0d10173f489f8705f263f3426bd46c55913f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659/commits","review_comments_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659/comments","review_comment_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3659/comments","statuses_url":"https://api.github.com/repos/elixir-lang/elixir/statuses/2e24f62b5621f2c26b428d940e02bcf8dfaf66ab","head":{"label":"stevedomin:process-info-spec-list","ref":"process-info-spec-list","sha":"2e24f62b5621f2c26b428d940e02bcf8dfaf66ab","user":{"login":"stevedomin","id":512246,"avatar_url":"https://avatars.githubusercontent.com/u/512246?v=3","gravatar_id":"","url":"https://api.github.com/users/stevedomin","html_url":"https://github.com/stevedomin","followers_url":"https://api.github.com/users/stevedomin/followers","following_url":"https://api.github.com/users/stevedomin/following{/other_user}","gists_url":"https://api.github.com/users/stevedomin/gists{/gist_id}","starred_url":"https://api.github.com/users/stevedomin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevedomin/subscriptions","organizations_url":"https://api.github.com/users/stevedomin/orgs","repos_url":"https://api.github.com/users/stevedomin/repos","events_url":"https://api.github.com/users/stevedomin/events{/privacy}","received_events_url":"https://api.github.com/users/stevedomin/received_events","type":"User","site_admin":false},"repo":{"id":16365086,"name":"elixir","full_name":"stevedomin/elixir","owner":{"login":"stevedomin","id":512246,"avatar_url":"https://avatars.githubusercontent.com/u/512246?v=3","gravatar_id":"","url":"https://api.github.com/users/stevedomin","html_url":"https://github.com/stevedomin","followers_url":"https://api.github.com/users/stevedomin/followers","following_url":"https://api.github.com/users/stevedomin/following{/other_user}","gists_url":"https://api.github.com/users/stevedomin/gists{/gist_id}","starred_url":"https://api.github.com/users/stevedomin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevedomin/subscriptions","organizations_url":"https://api.github.com/users/stevedomin/orgs","repos_url":"https://api.github.com/users/stevedomin/repos","events_url":"https://api.github.com/users/stevedomin/events{/privacy}","received_events_url":"https://api.github.com/users/stevedomin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevedomin/elixir","description":"Elixir is a metaprogrammable, functional language built atop the Erlang VM. It is a dynamic language with hygienic macros that leverages Erlang's ability to build concurrent, distributed, and fault-tolerant applications with hot code upgrades.","fork":true,"url":"https://api.github.com/repos/stevedomin/elixir","forks_url":"https://api.github.com/repos/stevedomin/elixir/forks","keys_url":"https://api.github.com/repos/stevedomin/elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevedomin/elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevedomin/elixir/teams","hooks_url":"https://api.github.com/repos/stevedomin/elixir/hooks","issue_events_url":"https://api.github.com/repos/stevedomin/elixir/issues/events{/number}","events_url":"https://api.github.com/repos/stevedomin/elixir/events","assignees_url":"https://api.github.com/repos/stevedomin/elixir/assignees{/user}","branches_url":"https://api.github.com/repos/stevedomin/elixir/branches{/branch}","tags_url":"https://api.github.com/repos/stevedomin/elixir/tags","blobs_url":"https://api.github.com/repos/stevedomin/elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevedomin/elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevedomin/elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevedomin/elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevedomin/elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/stevedomin/elixir/languages","stargazers_url":"https://api.github.com/repos/stevedomin/elixir/stargazers","contributors_url":"https://api.github.com/repos/stevedomin/elixir/contributors","subscribers_url":"https://api.github.com/repos/stevedomin/elixir/subscribers","subscription_url":"https://api.github.com/repos/stevedomin/elixir/subscription","commits_url":"https://api.github.com/repos/stevedomin/elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevedomin/elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevedomin/elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevedomin/elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevedomin/elixir/contents/{+path}","compare_url":"https://api.github.com/repos/stevedomin/elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevedomin/elixir/merges","archive_url":"https://api.github.com/repos/stevedomin/elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevedomin/elixir/downloads","issues_url":"https://api.github.com/repos/stevedomin/elixir/issues{/number}","pulls_url":"https://api.github.com/repos/stevedomin/elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/stevedomin/elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/stevedomin/elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevedomin/elixir/labels{/name}","releases_url":"https://api.github.com/repos/stevedomin/elixir/releases{/id}","created_at":"2014-01-30T01:18:07Z","updated_at":"2014-08-22T12:42:09Z","pushed_at":"2015-09-02T21:07:48Z","git_url":"git://github.com/stevedomin/elixir.git","ssh_url":"git@github.com:stevedomin/elixir.git","clone_url":"https://github.com/stevedomin/elixir.git","svn_url":"https://github.com/stevedomin/elixir","homepage":"http://elixir-lang.org/","size":30162,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elixir-lang:master","ref":"master","sha":"3d71754db5885324cc3e924c7f94e6d31c2cbb9e","user":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":1234714,"name":"elixir","full_name":"elixir-lang/elixir","owner":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elixir-lang/elixir","description":"Elixir is a dynamic, functional language designed for building scalable and maintainable applications","fork":false,"url":"https://api.github.com/repos/elixir-lang/elixir","forks_url":"https://api.github.com/repos/elixir-lang/elixir/forks","keys_url":"https://api.github.com/repos/elixir-lang/elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elixir-lang/elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elixir-lang/elixir/teams","hooks_url":"https://api.github.com/repos/elixir-lang/elixir/hooks","issue_events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/events{/number}","events_url":"https://api.github.com/repos/elixir-lang/elixir/events","assignees_url":"https://api.github.com/repos/elixir-lang/elixir/assignees{/user}","branches_url":"https://api.github.com/repos/elixir-lang/elixir/branches{/branch}","tags_url":"https://api.github.com/repos/elixir-lang/elixir/tags","blobs_url":"https://api.github.com/repos/elixir-lang/elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elixir-lang/elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elixir-lang/elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/elixir-lang/elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elixir-lang/elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/elixir-lang/elixir/languages","stargazers_url":"https://api.github.com/repos/elixir-lang/elixir/stargazers","contributors_url":"https://api.github.com/repos/elixir-lang/elixir/contributors","subscribers_url":"https://api.github.com/repos/elixir-lang/elixir/subscribers","subscription_url":"https://api.github.com/repos/elixir-lang/elixir/subscription","commits_url":"https://api.github.com/repos/elixir-lang/elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/elixir-lang/elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/elixir-lang/elixir/contents/{+path}","compare_url":"https://api.github.com/repos/elixir-lang/elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elixir-lang/elixir/merges","archive_url":"https://api.github.com/repos/elixir-lang/elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elixir-lang/elixir/downloads","issues_url":"https://api.github.com/repos/elixir-lang/elixir/issues{/number}","pulls_url":"https://api.github.com/repos/elixir-lang/elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/elixir-lang/elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/elixir-lang/elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elixir-lang/elixir/labels{/name}","releases_url":"https://api.github.com/repos/elixir-lang/elixir/releases{/id}","created_at":"2011-01-09T08:43:57Z","updated_at":"2015-09-02T12:25:22Z","pushed_at":"2015-09-02T21:15:26Z","git_url":"git://github.com/elixir-lang/elixir.git","ssh_url":"git@github.com:elixir-lang/elixir.git","clone_url":"https://github.com/elixir-lang/elixir.git","svn_url":"https://github.com/elixir-lang/elixir","homepage":"http://elixir-lang.org/","size":50078,"stargazers_count":4687,"watchers_count":4687,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":647,"mirror_url":null,"open_issues_count":42,"forks":647,"open_issues":42,"watchers":4687,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659"},"html":{"href":"https://github.com/elixir-lang/elixir/pull/3659"},"issue":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/3659"},"comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/3659/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659/comments"},"review_comment":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/3659/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-lang/elixir/statuses/2e24f62b5621f2c26b428d940e02bcf8dfaf66ab"}}}}