{"id":16336433,"url":"https://github.com/justinwoo/purescript-xiaomian","last_synced_at":"2026-02-04T05:34:43.044Z","repository":{"id":58224465,"uuid":"148750740","full_name":"justinwoo/purescript-xiaomian","owner":"justinwoo","description":"Make a record of SProxy of keys of a row type easily, and just plug in the inferred type when you're finished.","archived":false,"fork":false,"pushed_at":"2018-09-15T06:21:38.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T21:22:17.471Z","etag":null,"topics":["purescript","type-level"],"latest_commit_sha":null,"homepage":"","language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justinwoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-14T07:16:50.000Z","updated_at":"2018-09-15T09:31:01.000Z","dependencies_parsed_at":"2022-08-31T02:00:54.428Z","dependency_job_id":null,"html_url":"https://github.com/justinwoo/purescript-xiaomian","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/justinwoo/purescript-xiaomian","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-xiaomian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-xiaomian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-xiaomian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-xiaomian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinwoo","download_url":"https://codeload.github.com/justinwoo/purescript-xiaomian/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-xiaomian/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29071142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["purescript","type-level"],"created_at":"2024-10-10T23:44:07.889Z","updated_at":"2026-02-04T05:34:43.026Z","avatar_url":"https://github.com/justinwoo.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-xiaomian\n\nMake a record of `SProxy` of keys of a row type easily, and just plug in the inferred type when you're finished.\n\n![](https://i.imgur.com/HhmRpVb.jpg)\n\n## Usage\n\nSee [test/Main.purs](./test/Main.purs)\n\n```purs\ntest :: Unit\ntest = do\n  let\n    expected = Proxy :: Proxy (RProxy ( a :: SProxy \"a\", b :: SProxy \"b\", c :: SProxy \"c\" ))\n    actual = X.getKeysRow { a: 1, b: 2, c: 3 }\n  expectInferred expected actual\n\ntest2 :: Unit\ntest2 = do\n  let\n    expected = Proxy :: Proxy ({ a :: SProxy \"a\", b :: SProxy \"b\", c :: SProxy \"c\" })\n    actual = X.getKeysRecord { a: 1, b: 2, c: 3 }\n  expectInferred expected actual\n\ntest3 :: Unit\ntest3 = do\n  let\n    expected = Proxy :: Proxy ({ a :: SProxy \"a\", b :: SProxy \"b\", c :: SProxy \"c\" })\n    actual = X.getKeysRecord' (Proxy :: Proxy { a :: Int, b :: Int, c :: Int })\n  expectInferred expected actual\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-xiaomian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinwoo%2Fpurescript-xiaomian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-xiaomian/lists"}