{"action":"closed","number":3317,"pull_request":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3317","id":35097468,"html_url":"https://github.com/elixir-lang/elixir/pull/3317","diff_url":"https://github.com/elixir-lang/elixir/pull/3317.diff","patch_url":"https://github.com/elixir-lang/elixir/pull/3317.patch","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3317","number":3317,"state":"closed","locked":false,"title":"Stream.repeat/[1,2] function","user":{"login":"jfacorro","id":1522569,"avatar_url":"https://avatars.githubusercontent.com/u/1522569?v=3","gravatar_id":"","url":"https://api.github.com/users/jfacorro","html_url":"https://github.com/jfacorro","followers_url":"https://api.github.com/users/jfacorro/followers","following_url":"https://api.github.com/users/jfacorro/following{/other_user}","gists_url":"https://api.github.com/users/jfacorro/gists{/gist_id}","starred_url":"https://api.github.com/users/jfacorro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfacorro/subscriptions","organizations_url":"https://api.github.com/users/jfacorro/orgs","repos_url":"https://api.github.com/users/jfacorro/repos","events_url":"https://api.github.com/users/jfacorro/events{/privacy}","received_events_url":"https://api.github.com/users/jfacorro/received_events","type":"User","site_admin":false},"body":"This function is analogous to Clojure's [repeat](http://clojuredocs.org/clojure.core/repeat). Even though this is an awfully simple and short function, I think it would be extremely useful if it was part of the standard `Stream` module. This would avoid having it reimplemented a bunch of times in different projects.","created_at":"2015-05-11T04:35:53Z","updated_at":"2015-05-11T13:36:32Z","closed_at":"2015-05-11T13:36:32Z","merged_at":null,"merge_commit_sha":"a45268c2e44872321f225f2b028e2b7193285872","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3317/commits","review_comments_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/3317/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/3317/comments","statuses_url":"https://api.github.com/repos/elixir-lang/elixir/statuses/2bf1b34b0e7b7006f58076eea1cf813264462274","head":{"label":"jfacorro:jfacorro.stream_repeat_function","ref":"jfacorro.stream_repeat_function","sha":"2bf1b34b0e7b7006f58076eea1cf813264462274","user":{"login":"jfacorro","id":1522569,"avatar_url":"https://avatars.githubusercontent.com/u/1522569?v=3","gravatar_id":"","url":"https://api.github.com/users/jfacorro","html_url":"https://github.com/jfacorro","followers_url":"https://api.github.com/users/jfacorro/followers","following_url":"https://api.github.com/users/jfacorro/following{/other_user}","gists_url":"https://api.github.com/users/jfacorro/gists{/gist_id}","starred_url":"https://api.github.com/users/jfacorro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfacorro/subscriptions","organizations_url":"https://api.github.com/users/jfacorro/orgs","repos_url":"https://api.github.com/users/jfacorro/repos","events_url":"https://api.github.com/users/jfacorro/events{/privacy}","received_events_url":"https://api.github.com/users/jfacorro/received_events","type":"User","site_admin":false},"repo":{"id":35401023,"name":"elixir","full_name":"jfacorro/elixir","owner":{"login":"jfacorro","id":1522569,"avatar_url":"https://avatars.githubusercontent.com/u/1522569?v=3","gravatar_id":"","url":"https://api.github.com/users/jfacorro","html_url":"https://github.com/jfacorro","followers_url":"https://api.github.com/users/jfacorro/followers","following_url":"https://api.github.com/users/jfacorro/following{/other_user}","gists_url":"https://api.github.com/users/jfacorro/gists{/gist_id}","starred_url":"https://api.github.com/users/jfacorro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfacorro/subscriptions","organizations_url":"https://api.github.com/users/jfacorro/orgs","repos_url":"https://api.github.com/users/jfacorro/repos","events_url":"https://api.github.com/users/jfacorro/events{/privacy}","received_events_url":"https://api.github.com/users/jfacorro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfacorro/elixir","description":"Elixir is a dynamic, functional language designed for building scalable and maintainable applications","fork":true,"url":"https://api.github.com/repos/jfacorro/elixir","forks_url":"https://api.github.com/repos/jfacorro/elixir/forks","keys_url":"https://api.github.com/repos/jfacorro/elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfacorro/elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfacorro/elixir/teams","hooks_url":"https://api.github.com/repos/jfacorro/elixir/hooks","issue_events_url":"https://api.github.com/repos/jfacorro/elixir/issues/events{/number}","events_url":"https://api.github.com/repos/jfacorro/elixir/events","assignees_url":"https://api.github.com/repos/jfacorro/elixir/assignees{/user}","branches_url":"https://api.github.com/repos/jfacorro/elixir/branches{/branch}","tags_url":"https://api.github.com/repos/jfacorro/elixir/tags","blobs_url":"https://api.github.com/repos/jfacorro/elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfacorro/elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfacorro/elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfacorro/elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfacorro/elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/jfacorro/elixir/languages","stargazers_url":"https://api.github.com/repos/jfacorro/elixir/stargazers","contributors_url":"https://api.github.com/repos/jfacorro/elixir/contributors","subscribers_url":"https://api.github.com/repos/jfacorro/elixir/subscribers","subscription_url":"https://api.github.com/repos/jfacorro/elixir/subscription","commits_url":"https://api.github.com/repos/jfacorro/elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfacorro/elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfacorro/elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfacorro/elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfacorro/elixir/contents/{+path}","compare_url":"https://api.github.com/repos/jfacorro/elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfacorro/elixir/merges","archive_url":"https://api.github.com/repos/jfacorro/elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfacorro/elixir/downloads","issues_url":"https://api.github.com/repos/jfacorro/elixir/issues{/number}","pulls_url":"https://api.github.com/repos/jfacorro/elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/jfacorro/elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/jfacorro/elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfacorro/elixir/labels{/name}","releases_url":"https://api.github.com/repos/jfacorro/elixir/releases{/id}","created_at":"2015-05-11T03:55:12Z","updated_at":"2015-05-11T03:55:15Z","pushed_at":"2015-05-11T04:29:28Z","git_url":"git://github.com/jfacorro/elixir.git","ssh_url":"git@github.com:jfacorro/elixir.git","clone_url":"https://github.com/jfacorro/elixir.git","svn_url":"https://github.com/jfacorro/elixir","homepage":"http://elixir-lang.org/","size":49653,"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":"09bf62e6996b91e70c6083a2ec7a14508f7a632e","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-05-11T04:52:46Z","pushed_at":"2015-05-11T11:30:56Z","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":49653,"stargazers_count":3826,"watchers_count":3826,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":538,"mirror_url":null,"open_issues_count":55,"forks":538,"open_issues":55,"watchers":3826,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/3317"},"html":{"href":"https://github.com/elixir-lang/elixir/pull/3317"},"issue":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/3317"},"comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/3317/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/3317/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/3317/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-lang/elixir/statuses/2bf1b34b0e7b7006f58076eea1cf813264462274"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":2,"additions":44,"deletions":0,"changed_files":2}}