{"action":"created","issue":{"url":"https://api.github.com/repos/ramda/ramda/issues/1719","repository_url":"https://api.github.com/repos/ramda/ramda","labels_url":"https://api.github.com/repos/ramda/ramda/issues/1719/labels{/name}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1719/comments","events_url":"https://api.github.com/repos/ramda/ramda/issues/1719/events","html_url":"https://github.com/ramda/ramda/issues/1719","id":146738259,"number":1719,"title":"R.defaultTo(+/- Infinity)  would expect to be the default value instead of +/- Infinity since NaN would return the default as well.","user":{"login":"bcowgill","id":968686,"avatar_url":"https://avatars.githubusercontent.com/u/968686?v=3","gravatar_id":"","url":"https://api.github.com/users/bcowgill","html_url":"https://github.com/bcowgill","followers_url":"https://api.github.com/users/bcowgill/followers","following_url":"https://api.github.com/users/bcowgill/following{/other_user}","gists_url":"https://api.github.com/users/bcowgill/gists{/gist_id}","starred_url":"https://api.github.com/users/bcowgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcowgill/subscriptions","organizations_url":"https://api.github.com/users/bcowgill/orgs","repos_url":"https://api.github.com/users/bcowgill/repos","events_url":"https://api.github.com/users/bcowgill/events{/privacy}","received_events_url":"https://api.github.com/users/bcowgill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-07T20:50:31Z","updated_at":"2016-04-07T22:39:05Z","closed_at":null,"body":"\t\tvar def = R.defaultTo(42);\r\n\t\t\t\tit('should NOT EXPECTED return default value for Infinity', function () {\r\n\t\t\t\t\texpect(def(Infinity)).to.be.equal(Infinity);\r\n\t\t\t\t});\r\n\t\t\t\tit('should NOT EXPECTED return default value for -Infinity', function () {\r\n\t\t\t\t\texpect(def(-Infinity)).to.be.equal(-Infinity);\r\n\t\t\t\t});\r\n"},"comment":{"url":"https://api.github.com/repos/ramda/ramda/issues/comments/207122273","html_url":"https://github.com/ramda/ramda/issues/1719#issuecomment-207122273","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1719","id":207122273,"user":{"login":"CrossEye","id":151263,"avatar_url":"https://avatars.githubusercontent.com/u/151263?v=3","gravatar_id":"","url":"https://api.github.com/users/CrossEye","html_url":"https://github.com/CrossEye","followers_url":"https://api.github.com/users/CrossEye/followers","following_url":"https://api.github.com/users/CrossEye/following{/other_user}","gists_url":"https://api.github.com/users/CrossEye/gists{/gist_id}","starred_url":"https://api.github.com/users/CrossEye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrossEye/subscriptions","organizations_url":"https://api.github.com/users/CrossEye/orgs","repos_url":"https://api.github.com/users/CrossEye/repos","events_url":"https://api.github.com/users/CrossEye/events{/privacy}","received_events_url":"https://api.github.com/users/CrossEye/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T22:39:05Z","updated_at":"2016-04-07T22:39:05Z","body":"I'm not following the suggestion.  Do you think we should add those test cases because it seems to you that it's ambiguous otherwise?  If so, I don't have a serious objection, although I don't feel a similar need.\r\n\r\nIf you believe that we should change the behavior when `±Infinity` is supplied, then I don't see any reason at all for that.  Those strike me as perfectly legitimate values."}}