{"action":"opened","number":2141,"pull_request":{"url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/2141","id":33122783,"html_url":"https://github.com/idris-lang/Idris-dev/pull/2141","diff_url":"https://github.com/idris-lang/Idris-dev/pull/2141.diff","patch_url":"https://github.com/idris-lang/Idris-dev/pull/2141.patch","issue_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/2141","number":2141,"state":"open","locked":false,"title":"Add fibs to Stream.idr in the prelude.","user":{"login":"markfarrell","id":2190984,"avatar_url":"https://avatars.githubusercontent.com/u/2190984?v=3","gravatar_id":"","url":"https://api.github.com/users/markfarrell","html_url":"https://github.com/markfarrell","followers_url":"https://api.github.com/users/markfarrell/followers","following_url":"https://api.github.com/users/markfarrell/following{/other_user}","gists_url":"https://api.github.com/users/markfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/markfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markfarrell/subscriptions","organizations_url":"https://api.github.com/users/markfarrell/orgs","repos_url":"https://api.github.com/users/markfarrell/repos","events_url":"https://api.github.com/users/markfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/markfarrell/received_events","type":"User","site_admin":false},"body":"Found myself needing an infinite stream of Fibonacci numbers for solving a Project Euler problem. Also noticed that an infinite stream of Fibonacci numbers is an example of how to use infinite streams in the Scala standard library documentation. So, thought it would be useful to include in Stream.idr, especially since `fib n` is included in Nat.idr. \r\n\r\n```Idris\r\n||| An infinite stream of Fibonacci numbers\r\nfibs : Stream Nat\r\nfibs = 0 :: 1 :: zipWith (+) fibs (tail fibs)\r\n```\r\n\r\nSigned-off-by: Mark Farrell <m4farrel@uwaterloo.ca>","created_at":"2015-04-12T16:59:04Z","updated_at":"2015-04-12T16:59:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/2141/commits","review_comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/2141/comments","review_comment_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/2141/comments","statuses_url":"https://api.github.com/repos/idris-lang/Idris-dev/statuses/eb79c1a5b3679e6616d3d75d69215b85b3a069a4","head":{"label":"markfarrell:fibs","ref":"fibs","sha":"eb79c1a5b3679e6616d3d75d69215b85b3a069a4","user":{"login":"markfarrell","id":2190984,"avatar_url":"https://avatars.githubusercontent.com/u/2190984?v=3","gravatar_id":"","url":"https://api.github.com/users/markfarrell","html_url":"https://github.com/markfarrell","followers_url":"https://api.github.com/users/markfarrell/followers","following_url":"https://api.github.com/users/markfarrell/following{/other_user}","gists_url":"https://api.github.com/users/markfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/markfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markfarrell/subscriptions","organizations_url":"https://api.github.com/users/markfarrell/orgs","repos_url":"https://api.github.com/users/markfarrell/repos","events_url":"https://api.github.com/users/markfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/markfarrell/received_events","type":"User","site_admin":false},"repo":{"id":31980709,"name":"Idris-dev","full_name":"markfarrell/Idris-dev","owner":{"login":"markfarrell","id":2190984,"avatar_url":"https://avatars.githubusercontent.com/u/2190984?v=3","gravatar_id":"","url":"https://api.github.com/users/markfarrell","html_url":"https://github.com/markfarrell","followers_url":"https://api.github.com/users/markfarrell/followers","following_url":"https://api.github.com/users/markfarrell/following{/other_user}","gists_url":"https://api.github.com/users/markfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/markfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markfarrell/subscriptions","organizations_url":"https://api.github.com/users/markfarrell/orgs","repos_url":"https://api.github.com/users/markfarrell/repos","events_url":"https://api.github.com/users/markfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/markfarrell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markfarrell/Idris-dev","description":"A Dependently Typed Functional Programming Language","fork":true,"url":"https://api.github.com/repos/markfarrell/Idris-dev","forks_url":"https://api.github.com/repos/markfarrell/Idris-dev/forks","keys_url":"https://api.github.com/repos/markfarrell/Idris-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markfarrell/Idris-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markfarrell/Idris-dev/teams","hooks_url":"https://api.github.com/repos/markfarrell/Idris-dev/hooks","issue_events_url":"https://api.github.com/repos/markfarrell/Idris-dev/issues/events{/number}","events_url":"https://api.github.com/repos/markfarrell/Idris-dev/events","assignees_url":"https://api.github.com/repos/markfarrell/Idris-dev/assignees{/user}","branches_url":"https://api.github.com/repos/markfarrell/Idris-dev/branches{/branch}","tags_url":"https://api.github.com/repos/markfarrell/Idris-dev/tags","blobs_url":"https://api.github.com/repos/markfarrell/Idris-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markfarrell/Idris-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markfarrell/Idris-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/markfarrell/Idris-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markfarrell/Idris-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/markfarrell/Idris-dev/languages","stargazers_url":"https://api.github.com/repos/markfarrell/Idris-dev/stargazers","contributors_url":"https://api.github.com/repos/markfarrell/Idris-dev/contributors","subscribers_url":"https://api.github.com/repos/markfarrell/Idris-dev/subscribers","subscription_url":"https://api.github.com/repos/markfarrell/Idris-dev/subscription","commits_url":"https://api.github.com/repos/markfarrell/Idris-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/markfarrell/Idris-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/markfarrell/Idris-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/markfarrell/Idris-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/markfarrell/Idris-dev/contents/{+path}","compare_url":"https://api.github.com/repos/markfarrell/Idris-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markfarrell/Idris-dev/merges","archive_url":"https://api.github.com/repos/markfarrell/Idris-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markfarrell/Idris-dev/downloads","issues_url":"https://api.github.com/repos/markfarrell/Idris-dev/issues{/number}","pulls_url":"https://api.github.com/repos/markfarrell/Idris-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/markfarrell/Idris-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/markfarrell/Idris-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markfarrell/Idris-dev/labels{/name}","releases_url":"https://api.github.com/repos/markfarrell/Idris-dev/releases{/id}","created_at":"2015-03-10T20:41:32Z","updated_at":"2015-03-10T20:41:34Z","pushed_at":"2015-04-12T16:53:01Z","git_url":"git://github.com/markfarrell/Idris-dev.git","ssh_url":"git@github.com:markfarrell/Idris-dev.git","clone_url":"https://github.com/markfarrell/Idris-dev.git","svn_url":"https://github.com/markfarrell/Idris-dev","homepage":"http://idris-lang.org","size":22716,"stargazers_count":0,"watchers_count":0,"language":"Haskell","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":"idris-lang:master","ref":"master","sha":"09a0a8d2f4c3c056f8268ee0e033822a16840b01","user":{"login":"idris-lang","id":5552910,"avatar_url":"https://avatars.githubusercontent.com/u/5552910?v=3","gravatar_id":"","url":"https://api.github.com/users/idris-lang","html_url":"https://github.com/idris-lang","followers_url":"https://api.github.com/users/idris-lang/followers","following_url":"https://api.github.com/users/idris-lang/following{/other_user}","gists_url":"https://api.github.com/users/idris-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/idris-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idris-lang/subscriptions","organizations_url":"https://api.github.com/users/idris-lang/orgs","repos_url":"https://api.github.com/users/idris-lang/repos","events_url":"https://api.github.com/users/idris-lang/events{/privacy}","received_events_url":"https://api.github.com/users/idris-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":2386778,"name":"Idris-dev","full_name":"idris-lang/Idris-dev","owner":{"login":"idris-lang","id":5552910,"avatar_url":"https://avatars.githubusercontent.com/u/5552910?v=3","gravatar_id":"","url":"https://api.github.com/users/idris-lang","html_url":"https://github.com/idris-lang","followers_url":"https://api.github.com/users/idris-lang/followers","following_url":"https://api.github.com/users/idris-lang/following{/other_user}","gists_url":"https://api.github.com/users/idris-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/idris-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idris-lang/subscriptions","organizations_url":"https://api.github.com/users/idris-lang/orgs","repos_url":"https://api.github.com/users/idris-lang/repos","events_url":"https://api.github.com/users/idris-lang/events{/privacy}","received_events_url":"https://api.github.com/users/idris-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idris-lang/Idris-dev","description":"A Dependently Typed Functional Programming Language","fork":false,"url":"https://api.github.com/repos/idris-lang/Idris-dev","forks_url":"https://api.github.com/repos/idris-lang/Idris-dev/forks","keys_url":"https://api.github.com/repos/idris-lang/Idris-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idris-lang/Idris-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idris-lang/Idris-dev/teams","hooks_url":"https://api.github.com/repos/idris-lang/Idris-dev/hooks","issue_events_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/events{/number}","events_url":"https://api.github.com/repos/idris-lang/Idris-dev/events","assignees_url":"https://api.github.com/repos/idris-lang/Idris-dev/assignees{/user}","branches_url":"https://api.github.com/repos/idris-lang/Idris-dev/branches{/branch}","tags_url":"https://api.github.com/repos/idris-lang/Idris-dev/tags","blobs_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idris-lang/Idris-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/idris-lang/Idris-dev/languages","stargazers_url":"https://api.github.com/repos/idris-lang/Idris-dev/stargazers","contributors_url":"https://api.github.com/repos/idris-lang/Idris-dev/contributors","subscribers_url":"https://api.github.com/repos/idris-lang/Idris-dev/subscribers","subscription_url":"https://api.github.com/repos/idris-lang/Idris-dev/subscription","commits_url":"https://api.github.com/repos/idris-lang/Idris-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/idris-lang/Idris-dev/contents/{+path}","compare_url":"https://api.github.com/repos/idris-lang/Idris-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idris-lang/Idris-dev/merges","archive_url":"https://api.github.com/repos/idris-lang/Idris-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idris-lang/Idris-dev/downloads","issues_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues{/number}","pulls_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/idris-lang/Idris-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/idris-lang/Idris-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idris-lang/Idris-dev/labels{/name}","releases_url":"https://api.github.com/repos/idris-lang/Idris-dev/releases{/id}","created_at":"2011-09-14T16:55:49Z","updated_at":"2015-04-12T16:34:09Z","pushed_at":"2015-04-12T16:59:05Z","git_url":"git://github.com/idris-lang/Idris-dev.git","ssh_url":"git@github.com:idris-lang/Idris-dev.git","clone_url":"https://github.com/idris-lang/Idris-dev.git","svn_url":"https://github.com/idris-lang/Idris-dev","homepage":"http://idris-lang.org","size":35375,"stargazers_count":731,"watchers_count":731,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":212,"mirror_url":null,"open_issues_count":332,"forks":212,"open_issues":332,"watchers":731,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/2141"},"html":{"href":"https://github.com/idris-lang/Idris-dev/pull/2141"},"issue":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/issues/2141"},"comments":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/issues/2141/comments"},"review_comments":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/2141/comments"},"review_comment":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/2141/commits"},"statuses":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/statuses/eb79c1a5b3679e6616d3d75d69215b85b3a069a4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}