{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/3","id":65887731,"html_url":"https://github.com/muchuVishal/FunctionalXpp/pull/3","diff_url":"https://github.com/muchuVishal/FunctionalXpp/pull/3.diff","patch_url":"https://github.com/muchuVishal/FunctionalXpp/pull/3.patch","issue_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/3","number":3,"state":"open","locked":false,"title":"Add bind, unit, curry and some nice examples","user":{"login":"leonid-rousniak","id":17119950,"avatar_url":"https://avatars.githubusercontent.com/u/17119950?v=3","gravatar_id":"","url":"https://api.github.com/users/leonid-rousniak","html_url":"https://github.com/leonid-rousniak","followers_url":"https://api.github.com/users/leonid-rousniak/followers","following_url":"https://api.github.com/users/leonid-rousniak/following{/other_user}","gists_url":"https://api.github.com/users/leonid-rousniak/gists{/gist_id}","starred_url":"https://api.github.com/users/leonid-rousniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonid-rousniak/subscriptions","organizations_url":"https://api.github.com/users/leonid-rousniak/orgs","repos_url":"https://api.github.com/users/leonid-rousniak/repos","events_url":"https://api.github.com/users/leonid-rousniak/events{/privacy}","received_events_url":"https://api.github.com/users/leonid-rousniak/received_events","type":"User","site_admin":false},"body":"Bind and unit seem to work, and I overloaded bind to have haskell notation for monads. Didn't figure out how to write join and curry only work for a fixed number of arguments. It seems that the way parentheses work in c++ prevents you from having a \"simple\" implementation of the \r\nf(a,b,c) = curry(f)(a)(b)(c) without some meta-programming voodoo (check http://ideone.com/CQ8ELv if you want to see how it can be implemented).","created_at":"2016-04-09T18:00:12Z","updated_at":"2016-04-09T18:00:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"muchuVishal","id":14213494,"avatar_url":"https://avatars.githubusercontent.com/u/14213494?v=3","gravatar_id":"","url":"https://api.github.com/users/muchuVishal","html_url":"https://github.com/muchuVishal","followers_url":"https://api.github.com/users/muchuVishal/followers","following_url":"https://api.github.com/users/muchuVishal/following{/other_user}","gists_url":"https://api.github.com/users/muchuVishal/gists{/gist_id}","starred_url":"https://api.github.com/users/muchuVishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muchuVishal/subscriptions","organizations_url":"https://api.github.com/users/muchuVishal/orgs","repos_url":"https://api.github.com/users/muchuVishal/repos","events_url":"https://api.github.com/users/muchuVishal/events{/privacy}","received_events_url":"https://api.github.com/users/muchuVishal/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/3/commits","review_comments_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/3/comments","review_comment_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/3/comments","statuses_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/statuses/6a72b89de6f4bc0d1a02a67340d0fedd6f8d1c91","head":{"label":"muchuVishal:leonid-master","ref":"leonid-master","sha":"6a72b89de6f4bc0d1a02a67340d0fedd6f8d1c91","user":{"login":"muchuVishal","id":14213494,"avatar_url":"https://avatars.githubusercontent.com/u/14213494?v=3","gravatar_id":"","url":"https://api.github.com/users/muchuVishal","html_url":"https://github.com/muchuVishal","followers_url":"https://api.github.com/users/muchuVishal/followers","following_url":"https://api.github.com/users/muchuVishal/following{/other_user}","gists_url":"https://api.github.com/users/muchuVishal/gists{/gist_id}","starred_url":"https://api.github.com/users/muchuVishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muchuVishal/subscriptions","organizations_url":"https://api.github.com/users/muchuVishal/orgs","repos_url":"https://api.github.com/users/muchuVishal/repos","events_url":"https://api.github.com/users/muchuVishal/events{/privacy}","received_events_url":"https://api.github.com/users/muchuVishal/received_events","type":"User","site_admin":false},"repo":{"id":55695166,"name":"FunctionalXpp","full_name":"muchuVishal/FunctionalXpp","owner":{"login":"muchuVishal","id":14213494,"avatar_url":"https://avatars.githubusercontent.com/u/14213494?v=3","gravatar_id":"","url":"https://api.github.com/users/muchuVishal","html_url":"https://github.com/muchuVishal","followers_url":"https://api.github.com/users/muchuVishal/followers","following_url":"https://api.github.com/users/muchuVishal/following{/other_user}","gists_url":"https://api.github.com/users/muchuVishal/gists{/gist_id}","starred_url":"https://api.github.com/users/muchuVishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muchuVishal/subscriptions","organizations_url":"https://api.github.com/users/muchuVishal/orgs","repos_url":"https://api.github.com/users/muchuVishal/repos","events_url":"https://api.github.com/users/muchuVishal/events{/privacy}","received_events_url":"https://api.github.com/users/muchuVishal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muchuVishal/FunctionalXpp","description":"Experiments in implementing functional programming idioms in C++.","fork":false,"url":"https://api.github.com/repos/muchuVishal/FunctionalXpp","forks_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/forks","keys_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/teams","hooks_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/hooks","issue_events_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/events{/number}","events_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/events","assignees_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/assignees{/user}","branches_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/branches{/branch}","tags_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/tags","blobs_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/statuses/{sha}","languages_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/languages","stargazers_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/stargazers","contributors_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/contributors","subscribers_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/subscribers","subscription_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/subscription","commits_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/contents/{+path}","compare_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/merges","archive_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/downloads","issues_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues{/number}","pulls_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls{/number}","milestones_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/milestones{/number}","notifications_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/labels{/name}","releases_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/releases{/id}","deployments_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/deployments","created_at":"2016-04-07T13:04:58Z","updated_at":"2016-04-09T14:35:14Z","pushed_at":"2016-04-09T17:53:04Z","git_url":"git://github.com/muchuVishal/FunctionalXpp.git","ssh_url":"git@github.com:muchuVishal/FunctionalXpp.git","clone_url":"https://github.com/muchuVishal/FunctionalXpp.git","svn_url":"https://github.com/muchuVishal/FunctionalXpp","homepage":null,"size":623,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"muchuVishal:master","ref":"master","sha":"9bdec5e54e664f1824ce63b928e4bb5a7cc72538","user":{"login":"muchuVishal","id":14213494,"avatar_url":"https://avatars.githubusercontent.com/u/14213494?v=3","gravatar_id":"","url":"https://api.github.com/users/muchuVishal","html_url":"https://github.com/muchuVishal","followers_url":"https://api.github.com/users/muchuVishal/followers","following_url":"https://api.github.com/users/muchuVishal/following{/other_user}","gists_url":"https://api.github.com/users/muchuVishal/gists{/gist_id}","starred_url":"https://api.github.com/users/muchuVishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muchuVishal/subscriptions","organizations_url":"https://api.github.com/users/muchuVishal/orgs","repos_url":"https://api.github.com/users/muchuVishal/repos","events_url":"https://api.github.com/users/muchuVishal/events{/privacy}","received_events_url":"https://api.github.com/users/muchuVishal/received_events","type":"User","site_admin":false},"repo":{"id":55695166,"name":"FunctionalXpp","full_name":"muchuVishal/FunctionalXpp","owner":{"login":"muchuVishal","id":14213494,"avatar_url":"https://avatars.githubusercontent.com/u/14213494?v=3","gravatar_id":"","url":"https://api.github.com/users/muchuVishal","html_url":"https://github.com/muchuVishal","followers_url":"https://api.github.com/users/muchuVishal/followers","following_url":"https://api.github.com/users/muchuVishal/following{/other_user}","gists_url":"https://api.github.com/users/muchuVishal/gists{/gist_id}","starred_url":"https://api.github.com/users/muchuVishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muchuVishal/subscriptions","organizations_url":"https://api.github.com/users/muchuVishal/orgs","repos_url":"https://api.github.com/users/muchuVishal/repos","events_url":"https://api.github.com/users/muchuVishal/events{/privacy}","received_events_url":"https://api.github.com/users/muchuVishal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muchuVishal/FunctionalXpp","description":"Experiments in implementing functional programming idioms in C++.","fork":false,"url":"https://api.github.com/repos/muchuVishal/FunctionalXpp","forks_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/forks","keys_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/teams","hooks_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/hooks","issue_events_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/events{/number}","events_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/events","assignees_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/assignees{/user}","branches_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/branches{/branch}","tags_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/tags","blobs_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/statuses/{sha}","languages_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/languages","stargazers_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/stargazers","contributors_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/contributors","subscribers_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/subscribers","subscription_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/subscription","commits_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/contents/{+path}","compare_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/merges","archive_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/downloads","issues_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues{/number}","pulls_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls{/number}","milestones_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/milestones{/number}","notifications_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/labels{/name}","releases_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/releases{/id}","deployments_url":"https://api.github.com/repos/muchuVishal/FunctionalXpp/deployments","created_at":"2016-04-07T13:04:58Z","updated_at":"2016-04-09T14:35:14Z","pushed_at":"2016-04-09T17:53:04Z","git_url":"git://github.com/muchuVishal/FunctionalXpp.git","ssh_url":"git@github.com:muchuVishal/FunctionalXpp.git","clone_url":"https://github.com/muchuVishal/FunctionalXpp.git","svn_url":"https://github.com/muchuVishal/FunctionalXpp","homepage":null,"size":623,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/3"},"html":{"href":"https://github.com/muchuVishal/FunctionalXpp/pull/3"},"issue":{"href":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/3"},"comments":{"href":"https://api.github.com/repos/muchuVishal/FunctionalXpp/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/muchuVishal/FunctionalXpp/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/muchuVishal/FunctionalXpp/statuses/6a72b89de6f4bc0d1a02a67340d0fedd6f8d1c91"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":2,"changed_files":1}}