{"action":"created","issue":{"url":"https://api.github.com/repos/ramda/ramda/issues/1495","labels_url":"https://api.github.com/repos/ramda/ramda/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1495/comments","events_url":"https://api.github.com/repos/ramda/ramda/issues/1495/events","html_url":"https://github.com/ramda/ramda/pull/1495","id":114767637,"number":1495,"title":"Add juxt function","user":{"login":"samueller","id":628245,"avatar_url":"https://avatars.githubusercontent.com/u/628245?v=3","gravatar_id":"","url":"https://api.github.com/users/samueller","html_url":"https://github.com/samueller","followers_url":"https://api.github.com/users/samueller/followers","following_url":"https://api.github.com/users/samueller/following{/other_user}","gists_url":"https://api.github.com/users/samueller/gists{/gist_id}","starred_url":"https://api.github.com/users/samueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueller/subscriptions","organizations_url":"https://api.github.com/users/samueller/orgs","repos_url":"https://api.github.com/users/samueller/repos","events_url":"https://api.github.com/users/samueller/events{/privacy}","received_events_url":"https://api.github.com/users/samueller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-03T08:28:37Z","updated_at":"2015-11-09T01:31:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1495","html_url":"https://github.com/ramda/ramda/pull/1495","diff_url":"https://github.com/ramda/ramda/pull/1495.diff","patch_url":"https://github.com/ramda/ramda/pull/1495.patch"},"body":"Adding a `juxt` function as discussed in issue #986. This supports passing variadic functions in by passing in the right number of arguments in an array as the second parameter:\r\n\r\n```\r\njuxt([noArityFunc], [6])\r\njuxt([arity1Func], [6])\r\njuxt([arity2Func], [6, 7])\r\njuxt([arity3Func], [6, 7, 8])\r\n```"},"comment":{"url":"https://api.github.com/repos/ramda/ramda/issues/comments/154898717","html_url":"https://github.com/ramda/ramda/pull/1495#issuecomment-154898717","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1495","id":154898717,"user":{"login":"samueller","id":628245,"avatar_url":"https://avatars.githubusercontent.com/u/628245?v=3","gravatar_id":"","url":"https://api.github.com/users/samueller","html_url":"https://github.com/samueller","followers_url":"https://api.github.com/users/samueller/followers","following_url":"https://api.github.com/users/samueller/following{/other_user}","gists_url":"https://api.github.com/users/samueller/gists{/gist_id}","starred_url":"https://api.github.com/users/samueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueller/subscriptions","organizations_url":"https://api.github.com/users/samueller/orgs","repos_url":"https://api.github.com/users/samueller/repos","events_url":"https://api.github.com/users/samueller/events{/privacy}","received_events_url":"https://api.github.com/users/samueller/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T01:31:16Z","updated_at":"2015-11-09T01:31:16Z","body":"Having a problem with running `sudo npm test`. Everything worked perfect when I submitted this pull request. I modified `src/juxt.js` and `test/juxt.js` just now, except this time I got 2 assertion failures:\r\n> 1) invariants -- applying function f with length n (where n > 0) to no arguments gives function with length n:\r\n>       AssertionError: '0' === '1'\r\n> 2) invariants -- applying function f with length n (where n > 0) to R.__ gives function with length n:\r\n>       AssertionError: '0' === '1'\r\n\r\nSo I pulled in the latest changes from the upstream ramda/ramda repository and rebased. I still get the assertion failures even though I made no changes to anything except the above `juxt`s.\r\n\r\nI'll have to look into this later, but any suggestions are certainly welcome. I can try to just redo the fork as well."}}