{"id":18849113,"url":"https://github.com/gnlow/curry","last_synced_at":"2026-07-10T21:31:53.342Z","repository":{"id":138830654,"uuid":"403500307","full_name":"gnlow/curry","owner":"gnlow","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-06T07:42:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-16T02:22:31.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/gnlow.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":"2021-09-06T05:45:17.000Z","updated_at":"2021-09-06T07:42:33.000Z","dependencies_parsed_at":"2024-03-28T01:15:30.966Z","dependency_job_id":null,"html_url":"https://github.com/gnlow/curry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gnlow/curry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnlow%2Fcurry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnlow%2Fcurry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnlow%2Fcurry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnlow%2Fcurry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnlow","download_url":"https://codeload.github.com/gnlow/curry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnlow%2Fcurry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35344523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","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":[],"created_at":"2024-11-08T03:18:25.403Z","updated_at":"2026-07-10T21:31:53.324Z","avatar_url":"https://github.com/gnlow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# curry\nSimple type library for combining functions.\n```\nimport type { V, Eval } from \"./mod.ts\"\n\ntype t1 = Eval\u003cV\u003c[1, 2], 3\u003e, [V\u003c[1], 1\u003e, V\u003c[2, 3], 2\u003e]\u003e // ( (1, 2) =\u003e 3 )( (1 =\u003e 1), ((2, 3) =\u003e 2) ) == (1, 2, 3) =\u003e 3\n\ntype check1 = V\u003c[1, 2, 3], 3\u003e   extends t1 ? true : false // true\n\ntype check2 = V\u003c[1, 3, 3], 3\u003e   extends t1 ? true : false // false\ntype check3 = V\u003c[1, 2], 3\u003e      extends t1 ? true : false // false\ntype check4 = V\u003c[1, 2, 3], 4\u003e   extends t1 ? true : false // false\n```\nSince TypeScript doesn't have higher-order generic type([TypeScript#1213](https://github.com/microsoft/TypeScript/issues/1213)), you should copy-paste whole code to customize `V`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnlow%2Fcurry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnlow%2Fcurry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnlow%2Fcurry/lists"}