{"id":21278674,"url":"https://github.com/wdalmut/curry","last_synced_at":"2025-10-14T20:13:49.207Z","repository":{"id":142589554,"uuid":"145090265","full_name":"wdalmut/curry","owner":"wdalmut","description":"An example of currying and partial application","archived":false,"fork":false,"pushed_at":"2018-08-17T16:35:12.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-14T20:13:47.468Z","etag":null,"topics":["currying","functional-programming"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdalmut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-17T07:55:30.000Z","updated_at":"2019-07-09T11:59:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3a59869-a375-49f5-a8e0-b339e6eccf65","html_url":"https://github.com/wdalmut/curry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wdalmut/curry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fcurry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fcurry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fcurry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fcurry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdalmut","download_url":"https://codeload.github.com/wdalmut/curry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fcurry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021005,"owners_count":26086946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["currying","functional-programming"],"created_at":"2024-11-21T10:15:37.210Z","updated_at":"2025-10-14T20:13:49.203Z","avatar_url":"https://github.com/wdalmut.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Partial application and curring for functions\n\nA simple example of partial application and curring applied to functions\n\n## Curring\n\n```js\nconst curry = require('.');\n\nconst sum = curry((a,b) =\u003e a+b);\n\nsum(1,1)  // direct 2\nsum(1)(1) // with curry 2\n```\n\n## Partial Application\n\n```js\nconst curry = require('.');\n\nconst sum = curry((a,b,c) =\u003e a+b+c);\n\nsum(1,1,1)   // direct 3\nsum(1)(1)(1) // with curry 3\nsum(1,1)(1)  // with left partial application\nsum(1)(1,1)  // with right partial application\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdalmut%2Fcurry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdalmut%2Fcurry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdalmut%2Fcurry/lists"}