{"action":"closed","number":1035,"pull_request":{"url":"https://api.github.com/repos/perl6/doc/pulls/1035","id":96724603,"html_url":"https://github.com/perl6/doc/pull/1035","diff_url":"https://github.com/perl6/doc/pull/1035.diff","patch_url":"https://github.com/perl6/doc/pull/1035.patch","issue_url":"https://api.github.com/repos/perl6/doc/issues/1035","number":1035,"state":"closed","locked":false,"title":"Consistent return types","user":{"login":"Altai-man","id":5764435,"avatar_url":"https://avatars.githubusercontent.com/u/5764435?v=3","gravatar_id":"","url":"https://api.github.com/users/Altai-man","html_url":"https://github.com/Altai-man","followers_url":"https://api.github.com/users/Altai-man/followers","following_url":"https://api.github.com/users/Altai-man/following{/other_user}","gists_url":"https://api.github.com/users/Altai-man/gists{/gist_id}","starred_url":"https://api.github.com/users/Altai-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Altai-man/subscriptions","organizations_url":"https://api.github.com/users/Altai-man/orgs","repos_url":"https://api.github.com/users/Altai-man/repos","events_url":"https://api.github.com/users/Altai-man/events{/privacy}","received_events_url":"https://api.github.com/users/Altai-man/received_events","type":"User","site_admin":false},"body":"See https://github.com/perl6/doc/issues/1024#issuecomment-264660360(and the whole issue history) for the original discussion.\r\n\r\nTo make docs signatures more consistent and to make them more version-agnostic this PR changes all `returns` to `-->` form.\r\n\r\nDiscussion is welcome!\r\n\r\nThe key points:\r\n1)We *don't* prohibit \"returns\" form anywhere, we just want to use single form in all signatures over the docs.\r\n1.5)It is tested, so maintenance burden will be not so big.\r\n2)We know 'returns\" just reads nicely.\r\n3)The otherwise change (\"-->\" to \"returns\") was rejected. Not the least reason is that \"returns\" can do less than \"-->'.","created_at":"2016-12-06T13:35:23Z","updated_at":"2016-12-10T12:21:58Z","closed_at":"2016-12-10T12:21:58Z","merged_at":"2016-12-10T12:21:58Z","merge_commit_sha":"63d182ac6413ce57406bf7b4c4306450b3d94ba7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/perl6/doc/pulls/1035/commits","review_comments_url":"https://api.github.com/repos/perl6/doc/pulls/1035/comments","review_comment_url":"https://api.github.com/repos/perl6/doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/perl6/doc/issues/1035/comments","statuses_url":"https://api.github.com/repos/perl6/doc/statuses/ae816b9600c77dcf61aef1aeed589a2bcea18478","head":{"label":"perl6:consistent-return-types","ref":"consistent-return-types","sha":"ae816b9600c77dcf61aef1aeed589a2bcea18478","user":{"login":"perl6","id":52564,"avatar_url":"https://avatars.githubusercontent.com/u/52564?v=3","gravatar_id":"","url":"https://api.github.com/users/perl6","html_url":"https://github.com/perl6","followers_url":"https://api.github.com/users/perl6/followers","following_url":"https://api.github.com/users/perl6/following{/other_user}","gists_url":"https://api.github.com/users/perl6/gists{/gist_id}","starred_url":"https://api.github.com/users/perl6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perl6/subscriptions","organizations_url":"https://api.github.com/users/perl6/orgs","repos_url":"https://api.github.com/users/perl6/repos","events_url":"https://api.github.com/users/perl6/events{/privacy}","received_events_url":"https://api.github.com/users/perl6/received_events","type":"Organization","site_admin":false},"repo":{"id":4599128,"name":"doc","full_name":"perl6/doc","owner":{"login":"perl6","id":52564,"avatar_url":"https://avatars.githubusercontent.com/u/52564?v=3","gravatar_id":"","url":"https://api.github.com/users/perl6","html_url":"https://github.com/perl6","followers_url":"https://api.github.com/users/perl6/followers","following_url":"https://api.github.com/users/perl6/following{/other_user}","gists_url":"https://api.github.com/users/perl6/gists{/gist_id}","starred_url":"https://api.github.com/users/perl6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perl6/subscriptions","organizations_url":"https://api.github.com/users/perl6/orgs","repos_url":"https://api.github.com/users/perl6/repos","events_url":"https://api.github.com/users/perl6/events{/privacy}","received_events_url":"https://api.github.com/users/perl6/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/perl6/doc","description":"Perl 6 documentation (tools and docs)","fork":false,"url":"https://api.github.com/repos/perl6/doc","forks_url":"https://api.github.com/repos/perl6/doc/forks","keys_url":"https://api.github.com/repos/perl6/doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/perl6/doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/perl6/doc/teams","hooks_url":"https://api.github.com/repos/perl6/doc/hooks","issue_events_url":"https://api.github.com/repos/perl6/doc/issues/events{/number}","events_url":"https://api.github.com/repos/perl6/doc/events","assignees_url":"https://api.github.com/repos/perl6/doc/assignees{/user}","branches_url":"https://api.github.com/repos/perl6/doc/branches{/branch}","tags_url":"https://api.github.com/repos/perl6/doc/tags","blobs_url":"https://api.github.com/repos/perl6/doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/perl6/doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/perl6/doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/perl6/doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/perl6/doc/statuses/{sha}","languages_url":"https://api.github.com/repos/perl6/doc/languages","stargazers_url":"https://api.github.com/repos/perl6/doc/stargazers","contributors_url":"https://api.github.com/repos/perl6/doc/contributors","subscribers_url":"https://api.github.com/repos/perl6/doc/subscribers","subscription_url":"https://api.github.com/repos/perl6/doc/subscription","commits_url":"https://api.github.com/repos/perl6/doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/perl6/doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/perl6/doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/perl6/doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/perl6/doc/contents/{+path}","compare_url":"https://api.github.com/repos/perl6/doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/perl6/doc/merges","archive_url":"https://api.github.com/repos/perl6/doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/perl6/doc/downloads","issues_url":"https://api.github.com/repos/perl6/doc/issues{/number}","pulls_url":"https://api.github.com/repos/perl6/doc/pulls{/number}","milestones_url":"https://api.github.com/repos/perl6/doc/milestones{/number}","notifications_url":"https://api.github.com/repos/perl6/doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/perl6/doc/labels{/name}","releases_url":"https://api.github.com/repos/perl6/doc/releases{/id}","deployments_url":"https://api.github.com/repos/perl6/doc/deployments","created_at":"2012-06-08T15:45:20Z","updated_at":"2016-12-02T11:46:03Z","pushed_at":"2016-12-10T12:21:57Z","git_url":"git://github.com/perl6/doc.git","ssh_url":"git@github.com:perl6/doc.git","clone_url":"https://github.com/perl6/doc.git","svn_url":"https://github.com/perl6/doc","homepage":"https://doc.perl6.org/","size":7991,"stargazers_count":98,"watchers_count":98,"language":"Perl6","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":130,"mirror_url":null,"open_issues_count":191,"forks":130,"open_issues":191,"watchers":98,"default_branch":"master"}},"base":{"label":"perl6:master","ref":"master","sha":"9de42a4fc558d02dcf3ed595ae50afb1ccca46f5","user":{"login":"perl6","id":52564,"avatar_url":"https://avatars.githubusercontent.com/u/52564?v=3","gravatar_id":"","url":"https://api.github.com/users/perl6","html_url":"https://github.com/perl6","followers_url":"https://api.github.com/users/perl6/followers","following_url":"https://api.github.com/users/perl6/following{/other_user}","gists_url":"https://api.github.com/users/perl6/gists{/gist_id}","starred_url":"https://api.github.com/users/perl6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perl6/subscriptions","organizations_url":"https://api.github.com/users/perl6/orgs","repos_url":"https://api.github.com/users/perl6/repos","events_url":"https://api.github.com/users/perl6/events{/privacy}","received_events_url":"https://api.github.com/users/perl6/received_events","type":"Organization","site_admin":false},"repo":{"id":4599128,"name":"doc","full_name":"perl6/doc","owner":{"login":"perl6","id":52564,"avatar_url":"https://avatars.githubusercontent.com/u/52564?v=3","gravatar_id":"","url":"https://api.github.com/users/perl6","html_url":"https://github.com/perl6","followers_url":"https://api.github.com/users/perl6/followers","following_url":"https://api.github.com/users/perl6/following{/other_user}","gists_url":"https://api.github.com/users/perl6/gists{/gist_id}","starred_url":"https://api.github.com/users/perl6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perl6/subscriptions","organizations_url":"https://api.github.com/users/perl6/orgs","repos_url":"https://api.github.com/users/perl6/repos","events_url":"https://api.github.com/users/perl6/events{/privacy}","received_events_url":"https://api.github.com/users/perl6/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/perl6/doc","description":"Perl 6 documentation (tools and docs)","fork":false,"url":"https://api.github.com/repos/perl6/doc","forks_url":"https://api.github.com/repos/perl6/doc/forks","keys_url":"https://api.github.com/repos/perl6/doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/perl6/doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/perl6/doc/teams","hooks_url":"https://api.github.com/repos/perl6/doc/hooks","issue_events_url":"https://api.github.com/repos/perl6/doc/issues/events{/number}","events_url":"https://api.github.com/repos/perl6/doc/events","assignees_url":"https://api.github.com/repos/perl6/doc/assignees{/user}","branches_url":"https://api.github.com/repos/perl6/doc/branches{/branch}","tags_url":"https://api.github.com/repos/perl6/doc/tags","blobs_url":"https://api.github.com/repos/perl6/doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/perl6/doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/perl6/doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/perl6/doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/perl6/doc/statuses/{sha}","languages_url":"https://api.github.com/repos/perl6/doc/languages","stargazers_url":"https://api.github.com/repos/perl6/doc/stargazers","contributors_url":"https://api.github.com/repos/perl6/doc/contributors","subscribers_url":"https://api.github.com/repos/perl6/doc/subscribers","subscription_url":"https://api.github.com/repos/perl6/doc/subscription","commits_url":"https://api.github.com/repos/perl6/doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/perl6/doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/perl6/doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/perl6/doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/perl6/doc/contents/{+path}","compare_url":"https://api.github.com/repos/perl6/doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/perl6/doc/merges","archive_url":"https://api.github.com/repos/perl6/doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/perl6/doc/downloads","issues_url":"https://api.github.com/repos/perl6/doc/issues{/number}","pulls_url":"https://api.github.com/repos/perl6/doc/pulls{/number}","milestones_url":"https://api.github.com/repos/perl6/doc/milestones{/number}","notifications_url":"https://api.github.com/repos/perl6/doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/perl6/doc/labels{/name}","releases_url":"https://api.github.com/repos/perl6/doc/releases{/id}","deployments_url":"https://api.github.com/repos/perl6/doc/deployments","created_at":"2012-06-08T15:45:20Z","updated_at":"2016-12-02T11:46:03Z","pushed_at":"2016-12-10T12:21:57Z","git_url":"git://github.com/perl6/doc.git","ssh_url":"git@github.com:perl6/doc.git","clone_url":"https://github.com/perl6/doc.git","svn_url":"https://github.com/perl6/doc","homepage":"https://doc.perl6.org/","size":7991,"stargazers_count":98,"watchers_count":98,"language":"Perl6","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":130,"mirror_url":null,"open_issues_count":191,"forks":130,"open_issues":191,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/perl6/doc/pulls/1035"},"html":{"href":"https://github.com/perl6/doc/pull/1035"},"issue":{"href":"https://api.github.com/repos/perl6/doc/issues/1035"},"comments":{"href":"https://api.github.com/repos/perl6/doc/issues/1035/comments"},"review_comments":{"href":"https://api.github.com/repos/perl6/doc/pulls/1035/comments"},"review_comment":{"href":"https://api.github.com/repos/perl6/doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/perl6/doc/pulls/1035/commits"},"statuses":{"href":"https://api.github.com/repos/perl6/doc/statuses/ae816b9600c77dcf61aef1aeed589a2bcea18478"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"AlexDaniel","id":5507503,"avatar_url":"https://avatars.githubusercontent.com/u/5507503?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexDaniel","html_url":"https://github.com/AlexDaniel","followers_url":"https://api.github.com/users/AlexDaniel/followers","following_url":"https://api.github.com/users/AlexDaniel/following{/other_user}","gists_url":"https://api.github.com/users/AlexDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDaniel/subscriptions","organizations_url":"https://api.github.com/users/AlexDaniel/orgs","repos_url":"https://api.github.com/users/AlexDaniel/repos","events_url":"https://api.github.com/users/AlexDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDaniel/received_events","type":"User","site_admin":false},"comments":5,"review_comments":3,"commits":5,"additions":758,"deletions":787,"changed_files":125}}
{"actor":{"display_login":"AlexDaniel"}}