{"action":"created","comment":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/comments/29773864","id":29773864,"diff_hunk":"@@ -263,36 +263,43 @@ private func observeWithStates<T, U, E>(signalState: CombineLatestState<T>, othe\n \t}, interrupted: onInterrupted)\n }\n \n-/// Combines the latest value of the receiver with the latest value from\n-/// the given signal.\n-///\n-/// The returned signal will not send a value until both inputs have sent\n-/// at least one value each. If either signal is interrupted, the returned signal\n-/// will also be interrupted.\n-public func combineLatestWith<T, U, E>(otherSignal: Signal<U, E>)(signal: Signal<T, E>) -> Signal<(T, U), E> {\n+private func combineLatestWith<T, U, V, E>(otherSignal: Signal<U, E>, transform: ((T, U) -> V))(signal: Signal<T, E>) -> Signal<V, E> {","path":"ReactiveCocoa/Swift/Signal.swift","position":11,"original_position":11,"commit_id":"a6e77b67ad108597ed8042e00f1b962c99298866","original_commit_id":"a6e77b67ad108597ed8042e00f1b962c99298866","user":{"login":"jspahrsummers","id":432536,"avatar_url":"https://avatars.githubusercontent.com/u/432536?v=3","gravatar_id":"","url":"https://api.github.com/users/jspahrsummers","html_url":"https://github.com/jspahrsummers","followers_url":"https://api.github.com/users/jspahrsummers/followers","following_url":"https://api.github.com/users/jspahrsummers/following{/other_user}","gists_url":"https://api.github.com/users/jspahrsummers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspahrsummers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspahrsummers/subscriptions","organizations_url":"https://api.github.com/users/jspahrsummers/orgs","repos_url":"https://api.github.com/users/jspahrsummers/repos","events_url":"https://api.github.com/users/jspahrsummers/events{/privacy}","received_events_url":"https://api.github.com/users/jspahrsummers/received_events","type":"User","site_admin":true},"body":"This is no different than (the previous) `combineLatestWith` plus `map`. Can you please revert to that?","created_at":"2015-05-06T16:11:54Z","updated_at":"2015-05-06T16:11:54Z","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1961#discussion_r29773864","pull_request_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961","_links":{"self":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/comments/29773864"},"html":{"href":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1961#discussion_r29773864"},"pull_request":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961"}}},"pull_request":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961","id":34646629,"html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1961","diff_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1961.diff","patch_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1961.patch","issue_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1961","number":1961,"state":"open","locked":false,"title":"Add zip and combineLatest array operators","user":{"login":"larcus94","id":762049,"avatar_url":"https://avatars.githubusercontent.com/u/762049?v=3","gravatar_id":"","url":"https://api.github.com/users/larcus94","html_url":"https://github.com/larcus94","followers_url":"https://api.github.com/users/larcus94/followers","following_url":"https://api.github.com/users/larcus94/following{/other_user}","gists_url":"https://api.github.com/users/larcus94/gists{/gist_id}","starred_url":"https://api.github.com/users/larcus94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larcus94/subscriptions","organizations_url":"https://api.github.com/users/larcus94/orgs","repos_url":"https://api.github.com/users/larcus94/repos","events_url":"https://api.github.com/users/larcus94/events{/privacy}","received_events_url":"https://api.github.com/users/larcus94/received_events","type":"User","site_admin":false},"body":"So I've tried to use RAC as a Futures & Promises library in an app I'm working on and realized that the `zip` and `combineLatest` operators would only return tuples which is rather inconvenient when the number of signals or signal producers is variable.\r\n\r\nSo I've added the array operators to make code as follows possible:\r\n```swift\r\nzip(repositories.map { github.getRepository($0.fullName) }).start(error: nil, completed: nil, interrupted: nil, next:  {}\r\n```\r\n\r\nThis is my first pull request for RAC so excuse me if I forgot about something very obvious.","created_at":"2015-05-04T15:26:37Z","updated_at":"2015-05-06T16:11:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfd47b06602eb3a15cdc1766d3e362bece06afc8","assignee":{"login":"jspahrsummers","id":432536,"avatar_url":"https://avatars.githubusercontent.com/u/432536?v=3","gravatar_id":"","url":"https://api.github.com/users/jspahrsummers","html_url":"https://github.com/jspahrsummers","followers_url":"https://api.github.com/users/jspahrsummers/followers","following_url":"https://api.github.com/users/jspahrsummers/following{/other_user}","gists_url":"https://api.github.com/users/jspahrsummers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspahrsummers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspahrsummers/subscriptions","organizations_url":"https://api.github.com/users/jspahrsummers/orgs","repos_url":"https://api.github.com/users/jspahrsummers/repos","events_url":"https://api.github.com/users/jspahrsummers/events{/privacy}","received_events_url":"https://api.github.com/users/jspahrsummers/received_events","type":"User","site_admin":true},"milestone":{"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/milestones/4","html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa/milestones/3.0","labels_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/milestones/4/labels","id":393809,"number":4,"title":"3.0","description":"Rethinking some of the [bigger underlying concepts in RAC](https://gist.github.com/jspahrsummers/7000136), particularly those inspired by Rx.\r\n\r\nHowever, we need to take backwards compatibility more seriously than we did for 1.x → 2.0, since our long-time users have already gone through that hellish migration, and we've gained even more users since then.","creator":{"login":"jspahrsummers","id":432536,"avatar_url":"https://avatars.githubusercontent.com/u/432536?v=3","gravatar_id":"","url":"https://api.github.com/users/jspahrsummers","html_url":"https://github.com/jspahrsummers","followers_url":"https://api.github.com/users/jspahrsummers/followers","following_url":"https://api.github.com/users/jspahrsummers/following{/other_user}","gists_url":"https://api.github.com/users/jspahrsummers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspahrsummers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspahrsummers/subscriptions","organizations_url":"https://api.github.com/users/jspahrsummers/orgs","repos_url":"https://api.github.com/users/jspahrsummers/repos","events_url":"https://api.github.com/users/jspahrsummers/events{/privacy}","received_events_url":"https://api.github.com/users/jspahrsummers/received_events","type":"User","site_admin":true},"open_issues":13,"closed_issues":301,"state":"open","created_at":"2013-08-04T02:52:56Z","updated_at":"2015-05-06T16:10:23Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961/commits","review_comments_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961/comments","review_comment_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1961/comments","statuses_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/statuses/a6e77b67ad108597ed8042e00f1b962c99298866","head":{"label":"larcus94:promises-futures","ref":"promises-futures","sha":"a6e77b67ad108597ed8042e00f1b962c99298866","user":{"login":"larcus94","id":762049,"avatar_url":"https://avatars.githubusercontent.com/u/762049?v=3","gravatar_id":"","url":"https://api.github.com/users/larcus94","html_url":"https://github.com/larcus94","followers_url":"https://api.github.com/users/larcus94/followers","following_url":"https://api.github.com/users/larcus94/following{/other_user}","gists_url":"https://api.github.com/users/larcus94/gists{/gist_id}","starred_url":"https://api.github.com/users/larcus94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larcus94/subscriptions","organizations_url":"https://api.github.com/users/larcus94/orgs","repos_url":"https://api.github.com/users/larcus94/repos","events_url":"https://api.github.com/users/larcus94/events{/privacy}","received_events_url":"https://api.github.com/users/larcus94/received_events","type":"User","site_admin":false},"repo":{"id":34561760,"name":"ReactiveCocoa","full_name":"larcus94/ReactiveCocoa","owner":{"login":"larcus94","id":762049,"avatar_url":"https://avatars.githubusercontent.com/u/762049?v=3","gravatar_id":"","url":"https://api.github.com/users/larcus94","html_url":"https://github.com/larcus94","followers_url":"https://api.github.com/users/larcus94/followers","following_url":"https://api.github.com/users/larcus94/following{/other_user}","gists_url":"https://api.github.com/users/larcus94/gists{/gist_id}","starred_url":"https://api.github.com/users/larcus94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larcus94/subscriptions","organizations_url":"https://api.github.com/users/larcus94/orgs","repos_url":"https://api.github.com/users/larcus94/repos","events_url":"https://api.github.com/users/larcus94/events{/privacy}","received_events_url":"https://api.github.com/users/larcus94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larcus94/ReactiveCocoa","description":"A framework for composing and transforming streams of values","fork":true,"url":"https://api.github.com/repos/larcus94/ReactiveCocoa","forks_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/forks","keys_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/teams","hooks_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/hooks","issue_events_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/issues/events{/number}","events_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/events","assignees_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/assignees{/user}","branches_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/branches{/branch}","tags_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/tags","blobs_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/git/refs{/sha}","trees_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/statuses/{sha}","languages_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/languages","stargazers_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/stargazers","contributors_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/contributors","subscribers_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/subscribers","subscription_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/subscription","commits_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/commits{/sha}","git_commits_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/git/commits{/sha}","comments_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/comments{/number}","issue_comment_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/issues/comments{/number}","contents_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/contents/{+path}","compare_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/merges","archive_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/downloads","issues_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/issues{/number}","pulls_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/pulls{/number}","milestones_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/milestones{/number}","notifications_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/labels{/name}","releases_url":"https://api.github.com/repos/larcus94/ReactiveCocoa/releases{/id}","created_at":"2015-04-25T08:50:05Z","updated_at":"2015-04-25T19:27:55Z","pushed_at":"2015-05-04T15:17:53Z","git_url":"git://github.com/larcus94/ReactiveCocoa.git","ssh_url":"git@github.com:larcus94/ReactiveCocoa.git","clone_url":"https://github.com/larcus94/ReactiveCocoa.git","svn_url":"https://github.com/larcus94/ReactiveCocoa","homepage":"","size":13044,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"swift-development"}},"base":{"label":"ReactiveCocoa:swift-development","ref":"swift-development","sha":"bc5b592c7f0eef6443092145c8a7afdef6cc3dcc","user":{"login":"ReactiveCocoa","id":3422977,"avatar_url":"https://avatars.githubusercontent.com/u/3422977?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveCocoa","html_url":"https://github.com/ReactiveCocoa","followers_url":"https://api.github.com/users/ReactiveCocoa/followers","following_url":"https://api.github.com/users/ReactiveCocoa/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveCocoa/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveCocoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveCocoa/subscriptions","organizations_url":"https://api.github.com/users/ReactiveCocoa/orgs","repos_url":"https://api.github.com/users/ReactiveCocoa/repos","events_url":"https://api.github.com/users/ReactiveCocoa/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveCocoa/received_events","type":"Organization","site_admin":false},"repo":{"id":3606624,"name":"ReactiveCocoa","full_name":"ReactiveCocoa/ReactiveCocoa","owner":{"login":"ReactiveCocoa","id":3422977,"avatar_url":"https://avatars.githubusercontent.com/u/3422977?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveCocoa","html_url":"https://github.com/ReactiveCocoa","followers_url":"https://api.github.com/users/ReactiveCocoa/followers","following_url":"https://api.github.com/users/ReactiveCocoa/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveCocoa/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveCocoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveCocoa/subscriptions","organizations_url":"https://api.github.com/users/ReactiveCocoa/orgs","repos_url":"https://api.github.com/users/ReactiveCocoa/repos","events_url":"https://api.github.com/users/ReactiveCocoa/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveCocoa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReactiveCocoa/ReactiveCocoa","description":"A framework for composing and transforming streams of values","fork":false,"url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa","forks_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/forks","keys_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/teams","hooks_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/hooks","issue_events_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/events{/number}","events_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/events","assignees_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/assignees{/user}","branches_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/branches{/branch}","tags_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/tags","blobs_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/statuses/{sha}","languages_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/languages","stargazers_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/stargazers","contributors_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/contributors","subscribers_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/subscribers","subscription_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/subscription","commits_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/contents/{+path}","compare_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/merges","archive_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/downloads","issues_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues{/number}","pulls_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls{/number}","milestones_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/milestones{/number}","notifications_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/labels{/name}","releases_url":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/releases{/id}","created_at":"2012-03-02T22:11:24Z","updated_at":"2015-05-06T14:05:23Z","pushed_at":"2015-05-06T12:55:20Z","git_url":"git://github.com/ReactiveCocoa/ReactiveCocoa.git","ssh_url":"git@github.com:ReactiveCocoa/ReactiveCocoa.git","clone_url":"https://github.com/ReactiveCocoa/ReactiveCocoa.git","svn_url":"https://github.com/ReactiveCocoa/ReactiveCocoa","homepage":"","size":28725,"stargazers_count":8025,"watchers_count":8025,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1185,"mirror_url":null,"open_issues_count":106,"forks":1185,"open_issues":106,"watchers":8025,"default_branch":"swift-development"}},"_links":{"self":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961"},"html":{"href":"https://github.com/ReactiveCocoa/ReactiveCocoa/pull/1961"},"issue":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1961"},"comments":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/1961/comments"},"review_comments":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961/comments"},"review_comment":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls/1961/commits"},"statuses":{"href":"https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/statuses/a6e77b67ad108597ed8042e00f1b962c99298866"}}}}