{"action":"closed","number":239,"pull_request":{"url":"https://api.github.com/repos/vim-jp/vital.vim/pulls/239","id":25629801,"html_url":"https://github.com/vim-jp/vital.vim/pull/239","diff_url":"https://github.com/vim-jp/vital.vim/pull/239.diff","patch_url":"https://github.com/vim-jp/vital.vim/pull/239.patch","issue_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/239","number":239,"state":"closed","locked":false,"title":"Add Data.Set module","user":{"login":"haya14busa","id":3797062,"avatar_url":"https://avatars.githubusercontent.com/u/3797062?v=3","gravatar_id":"","url":"https://api.github.com/users/haya14busa","html_url":"https://github.com/haya14busa","followers_url":"https://api.github.com/users/haya14busa/followers","following_url":"https://api.github.com/users/haya14busa/following{/other_user}","gists_url":"https://api.github.com/users/haya14busa/gists{/gist_id}","starred_url":"https://api.github.com/users/haya14busa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haya14busa/subscriptions","organizations_url":"https://api.github.com/users/haya14busa/orgs","repos_url":"https://api.github.com/users/haya14busa/repos","events_url":"https://api.github.com/users/haya14busa/events{/privacy}","received_events_url":"https://api.github.com/users/haya14busa/received_events","type":"User","site_admin":false},"body":"python の 2.7 のset ライブラリと 3.4 の仕様(と少しソースコード)を参考に vitalに移植してみました\r\n\r\n- ref: https://docs.python.org/3.4/library/stdtypes.html#set-types-set-frozenset\r\n\r\n#### TODO\r\n- [ ] https://github.com/vim-jp/vital.vim/pull/239#discussion_r21423877 (複数の引数に対応する場合)(可変長引数かメソッド以外の方法で提供するかそもそも対応しないかで選択肢があり、どうするか思案中。保留もあり?)\r\n- [x] https://github.com/vim-jp/vital.vim/pull/239#discussion-diff-21424330 (一意性をどうやって確保するか)\r\n- [x] rebase (okそうであれば最後にやる)","created_at":"2014-12-07T08:40:07Z","updated_at":"2015-03-22T14:30:15Z","closed_at":"2015-03-22T14:30:15Z","merged_at":"2015-03-22T14:30:15Z","merge_commit_sha":"eb1d788c23d2ef0d3cb9f52ab6723e33ac7d4334","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vim-jp/vital.vim/pulls/239/commits","review_comments_url":"https://api.github.com/repos/vim-jp/vital.vim/pulls/239/comments","review_comment_url":"https://api.github.com/repos/vim-jp/vital.vim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/239/comments","statuses_url":"https://api.github.com/repos/vim-jp/vital.vim/statuses/15c5c8bef86fcaae774102f41ae1bffee33699ca","head":{"label":"haya14busa:add-set-module","ref":"add-set-module","sha":"15c5c8bef86fcaae774102f41ae1bffee33699ca","user":{"login":"haya14busa","id":3797062,"avatar_url":"https://avatars.githubusercontent.com/u/3797062?v=3","gravatar_id":"","url":"https://api.github.com/users/haya14busa","html_url":"https://github.com/haya14busa","followers_url":"https://api.github.com/users/haya14busa/followers","following_url":"https://api.github.com/users/haya14busa/following{/other_user}","gists_url":"https://api.github.com/users/haya14busa/gists{/gist_id}","starred_url":"https://api.github.com/users/haya14busa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haya14busa/subscriptions","organizations_url":"https://api.github.com/users/haya14busa/orgs","repos_url":"https://api.github.com/users/haya14busa/repos","events_url":"https://api.github.com/users/haya14busa/events{/privacy}","received_events_url":"https://api.github.com/users/haya14busa/received_events","type":"User","site_admin":false},"repo":{"id":15549697,"name":"vital.vim","full_name":"haya14busa/vital.vim","owner":{"login":"haya14busa","id":3797062,"avatar_url":"https://avatars.githubusercontent.com/u/3797062?v=3","gravatar_id":"","url":"https://api.github.com/users/haya14busa","html_url":"https://github.com/haya14busa","followers_url":"https://api.github.com/users/haya14busa/followers","following_url":"https://api.github.com/users/haya14busa/following{/other_user}","gists_url":"https://api.github.com/users/haya14busa/gists{/gist_id}","starred_url":"https://api.github.com/users/haya14busa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haya14busa/subscriptions","organizations_url":"https://api.github.com/users/haya14busa/orgs","repos_url":"https://api.github.com/users/haya14busa/repos","events_url":"https://api.github.com/users/haya14busa/events{/privacy}","received_events_url":"https://api.github.com/users/haya14busa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haya14busa/vital.vim","description":"A comprehensive Vim utility functions for Vim plugins","fork":true,"url":"https://api.github.com/repos/haya14busa/vital.vim","forks_url":"https://api.github.com/repos/haya14busa/vital.vim/forks","keys_url":"https://api.github.com/repos/haya14busa/vital.vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haya14busa/vital.vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haya14busa/vital.vim/teams","hooks_url":"https://api.github.com/repos/haya14busa/vital.vim/hooks","issue_events_url":"https://api.github.com/repos/haya14busa/vital.vim/issues/events{/number}","events_url":"https://api.github.com/repos/haya14busa/vital.vim/events","assignees_url":"https://api.github.com/repos/haya14busa/vital.vim/assignees{/user}","branches_url":"https://api.github.com/repos/haya14busa/vital.vim/branches{/branch}","tags_url":"https://api.github.com/repos/haya14busa/vital.vim/tags","blobs_url":"https://api.github.com/repos/haya14busa/vital.vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haya14busa/vital.vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haya14busa/vital.vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/haya14busa/vital.vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haya14busa/vital.vim/statuses/{sha}","languages_url":"https://api.github.com/repos/haya14busa/vital.vim/languages","stargazers_url":"https://api.github.com/repos/haya14busa/vital.vim/stargazers","contributors_url":"https://api.github.com/repos/haya14busa/vital.vim/contributors","subscribers_url":"https://api.github.com/repos/haya14busa/vital.vim/subscribers","subscription_url":"https://api.github.com/repos/haya14busa/vital.vim/subscription","commits_url":"https://api.github.com/repos/haya14busa/vital.vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/haya14busa/vital.vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/haya14busa/vital.vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/haya14busa/vital.vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/haya14busa/vital.vim/contents/{+path}","compare_url":"https://api.github.com/repos/haya14busa/vital.vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haya14busa/vital.vim/merges","archive_url":"https://api.github.com/repos/haya14busa/vital.vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haya14busa/vital.vim/downloads","issues_url":"https://api.github.com/repos/haya14busa/vital.vim/issues{/number}","pulls_url":"https://api.github.com/repos/haya14busa/vital.vim/pulls{/number}","milestones_url":"https://api.github.com/repos/haya14busa/vital.vim/milestones{/number}","notifications_url":"https://api.github.com/repos/haya14busa/vital.vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haya14busa/vital.vim/labels{/name}","releases_url":"https://api.github.com/repos/haya14busa/vital.vim/releases{/id}","created_at":"2013-12-31T12:39:12Z","updated_at":"2013-12-31T13:42:33Z","pushed_at":"2015-03-21T15:40:03Z","git_url":"git://github.com/haya14busa/vital.vim.git","ssh_url":"git@github.com:haya14busa/vital.vim.git","clone_url":"https://github.com/haya14busa/vital.vim.git","svn_url":"https://github.com/haya14busa/vital.vim","homepage":"","size":2011,"stargazers_count":0,"watchers_count":0,"language":"VimL","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":"vim-jp:master","ref":"master","sha":"8dc28aaba4e186309ae803c090e8bc85e00fd98b","user":{"login":"vim-jp","id":1051958,"avatar_url":"https://avatars.githubusercontent.com/u/1051958?v=3","gravatar_id":"","url":"https://api.github.com/users/vim-jp","html_url":"https://github.com/vim-jp","followers_url":"https://api.github.com/users/vim-jp/followers","following_url":"https://api.github.com/users/vim-jp/following{/other_user}","gists_url":"https://api.github.com/users/vim-jp/gists{/gist_id}","starred_url":"https://api.github.com/users/vim-jp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vim-jp/subscriptions","organizations_url":"https://api.github.com/users/vim-jp/orgs","repos_url":"https://api.github.com/users/vim-jp/repos","events_url":"https://api.github.com/users/vim-jp/events{/privacy}","received_events_url":"https://api.github.com/users/vim-jp/received_events","type":"Organization","site_admin":false},"repo":{"id":1308435,"name":"vital.vim","full_name":"vim-jp/vital.vim","owner":{"login":"vim-jp","id":1051958,"avatar_url":"https://avatars.githubusercontent.com/u/1051958?v=3","gravatar_id":"","url":"https://api.github.com/users/vim-jp","html_url":"https://github.com/vim-jp","followers_url":"https://api.github.com/users/vim-jp/followers","following_url":"https://api.github.com/users/vim-jp/following{/other_user}","gists_url":"https://api.github.com/users/vim-jp/gists{/gist_id}","starred_url":"https://api.github.com/users/vim-jp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vim-jp/subscriptions","organizations_url":"https://api.github.com/users/vim-jp/orgs","repos_url":"https://api.github.com/users/vim-jp/repos","events_url":"https://api.github.com/users/vim-jp/events{/privacy}","received_events_url":"https://api.github.com/users/vim-jp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vim-jp/vital.vim","description":"A comprehensive Vim utility functions for Vim plugins","fork":false,"url":"https://api.github.com/repos/vim-jp/vital.vim","forks_url":"https://api.github.com/repos/vim-jp/vital.vim/forks","keys_url":"https://api.github.com/repos/vim-jp/vital.vim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vim-jp/vital.vim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vim-jp/vital.vim/teams","hooks_url":"https://api.github.com/repos/vim-jp/vital.vim/hooks","issue_events_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/events{/number}","events_url":"https://api.github.com/repos/vim-jp/vital.vim/events","assignees_url":"https://api.github.com/repos/vim-jp/vital.vim/assignees{/user}","branches_url":"https://api.github.com/repos/vim-jp/vital.vim/branches{/branch}","tags_url":"https://api.github.com/repos/vim-jp/vital.vim/tags","blobs_url":"https://api.github.com/repos/vim-jp/vital.vim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vim-jp/vital.vim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vim-jp/vital.vim/git/refs{/sha}","trees_url":"https://api.github.com/repos/vim-jp/vital.vim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vim-jp/vital.vim/statuses/{sha}","languages_url":"https://api.github.com/repos/vim-jp/vital.vim/languages","stargazers_url":"https://api.github.com/repos/vim-jp/vital.vim/stargazers","contributors_url":"https://api.github.com/repos/vim-jp/vital.vim/contributors","subscribers_url":"https://api.github.com/repos/vim-jp/vital.vim/subscribers","subscription_url":"https://api.github.com/repos/vim-jp/vital.vim/subscription","commits_url":"https://api.github.com/repos/vim-jp/vital.vim/commits{/sha}","git_commits_url":"https://api.github.com/repos/vim-jp/vital.vim/git/commits{/sha}","comments_url":"https://api.github.com/repos/vim-jp/vital.vim/comments{/number}","issue_comment_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/comments{/number}","contents_url":"https://api.github.com/repos/vim-jp/vital.vim/contents/{+path}","compare_url":"https://api.github.com/repos/vim-jp/vital.vim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vim-jp/vital.vim/merges","archive_url":"https://api.github.com/repos/vim-jp/vital.vim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vim-jp/vital.vim/downloads","issues_url":"https://api.github.com/repos/vim-jp/vital.vim/issues{/number}","pulls_url":"https://api.github.com/repos/vim-jp/vital.vim/pulls{/number}","milestones_url":"https://api.github.com/repos/vim-jp/vital.vim/milestones{/number}","notifications_url":"https://api.github.com/repos/vim-jp/vital.vim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vim-jp/vital.vim/labels{/name}","releases_url":"https://api.github.com/repos/vim-jp/vital.vim/releases{/id}","created_at":"2011-01-30T08:40:37Z","updated_at":"2015-03-22T14:27:06Z","pushed_at":"2015-03-22T14:30:15Z","git_url":"git://github.com/vim-jp/vital.vim.git","ssh_url":"git@github.com:vim-jp/vital.vim.git","clone_url":"https://github.com/vim-jp/vital.vim.git","svn_url":"https://github.com/vim-jp/vital.vim","homepage":"","size":5585,"stargazers_count":164,"watchers_count":164,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":39,"forks":36,"open_issues":39,"watchers":164,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vim-jp/vital.vim/pulls/239"},"html":{"href":"https://github.com/vim-jp/vital.vim/pull/239"},"issue":{"href":"https://api.github.com/repos/vim-jp/vital.vim/issues/239"},"comments":{"href":"https://api.github.com/repos/vim-jp/vital.vim/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/vim-jp/vital.vim/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/vim-jp/vital.vim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vim-jp/vital.vim/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/vim-jp/vital.vim/statuses/15c5c8bef86fcaae774102f41ae1bffee33699ca"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"thinca","id":20474,"avatar_url":"https://avatars.githubusercontent.com/u/20474?v=3","gravatar_id":"","url":"https://api.github.com/users/thinca","html_url":"https://github.com/thinca","followers_url":"https://api.github.com/users/thinca/followers","following_url":"https://api.github.com/users/thinca/following{/other_user}","gists_url":"https://api.github.com/users/thinca/gists{/gist_id}","starred_url":"https://api.github.com/users/thinca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinca/subscriptions","organizations_url":"https://api.github.com/users/thinca/orgs","repos_url":"https://api.github.com/users/thinca/repos","events_url":"https://api.github.com/users/thinca/events{/privacy}","received_events_url":"https://api.github.com/users/thinca/received_events","type":"User","site_admin":false},"comments":29,"review_comments":31,"commits":3,"additions":707,"deletions":0,"changed_files":3}}