{"action":"opened","issue":{"url":"https://api.github.com/repos/stoeffel/chickencurry/issues/7","labels_url":"https://api.github.com/repos/stoeffel/chickencurry/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/stoeffel/chickencurry/issues/7/comments","events_url":"https://api.github.com/repos/stoeffel/chickencurry/issues/7/events","html_url":"https://github.com/stoeffel/chickencurry/issues/7","id":97253434,"number":7,"title":"Design decisions","user":{"login":"tomekwi","id":4624660,"avatar_url":"https://avatars.githubusercontent.com/u/4624660?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekwi","html_url":"https://github.com/tomekwi","followers_url":"https://api.github.com/users/tomekwi/followers","following_url":"https://api.github.com/users/tomekwi/following{/other_user}","gists_url":"https://api.github.com/users/tomekwi/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekwi/subscriptions","organizations_url":"https://api.github.com/users/tomekwi/orgs","repos_url":"https://api.github.com/users/tomekwi/repos","events_url":"https://api.github.com/users/tomekwi/events{/privacy}","received_events_url":"https://api.github.com/users/tomekwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-25T20:27:42Z","updated_at":"2015-07-25T20:27:42Z","closed_at":null,"body":"IMO it would be great when we married these:\r\n\r\n* [dead simple API](https://github.com/stoeffel/chickencurry/tree/d01dce328ee90b66a27be564e258eb440775f4e1#curry-chickencurry) – only `curry` and `_`\r\n* no dependencies\r\n* make use of cutting-edge features\r\n\r\nHow to marry the two latter?\r\n\r\nSay we’d like to use `Symbol`. We can’t use the global because that would require users to pull in a global polyfill (that’s a Bad Thing ®). \r\n\r\nMy suggestion:\r\n\r\n```js\r\n// Pass an implementation:\r\nconst {curry, _} = require('curry-this')({\r\n  Symbol: require('es6-symbol'),\r\n});\r\n\r\n// …or use a global in a modern environment:\r\nconst {curry, _} = require('curry-this');\r\n```\r\n\r\nI guess it’s possible and not that hard. But I may be wrong."}}