{"id":16336491,"url":"https://github.com/justinwoo/purescript-sijidou","last_synced_at":"2026-02-04T09:33:49.745Z","repository":{"id":58237415,"uuid":"154553436","full_name":"justinwoo/purescript-sijidou","owner":"justinwoo","description":"A library for matching a string into a record of functions of statically known Symbol proxies.","archived":false,"fork":false,"pushed_at":"2019-11-13T07:28:38.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T11:15:37.452Z","etag":null,"topics":["purescript"],"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-10-24T18:57:28.000Z","updated_at":"2019-11-13T07:28:40.000Z","dependencies_parsed_at":"2022-08-30T22:31:21.888Z","dependency_job_id":null,"html_url":"https://github.com/justinwoo/purescript-sijidou","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/justinwoo/purescript-sijidou","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-sijidou","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-sijidou/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-sijidou/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-sijidou/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinwoo","download_url":"https://codeload.github.com/justinwoo/purescript-sijidou/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinwoo%2Fpurescript-sijidou/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266334548,"owners_count":23913002,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["purescript"],"created_at":"2024-10-10T23:44:21.454Z","updated_at":"2026-02-04T09:33:49.705Z","avatar_url":"https://github.com/justinwoo.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PureScript-Sijidou\n\nA library for matching a string into a record of functions of statically known Symbol proxies.\n\nNamed after 干煸四季豆 (gan bian sijidou), aka what people call \"that string bean dish I tried once in a weird Chinese restaurant\".\n\n![](https://i.imgur.com/9iWaGD5.jpg)\n\n## Example\n\n```purs\nmain = do\n  let\n    fruits =\n      { apple: \"great\"\n      , banana: \"good\"\n      }\n\n    key1 = \"apple\"\n    key2 = \"durian\"\n    key3 = \"banana\"\n\n    matchString :: String -\u003e Maybe String\n    matchString = S.matchString\n      { apple: \\k -\u003e Record.get k fruits\n      , banana: \\k -\u003e Record.get k fruits\n      }\n\n    result1 = matchString key1\n    result2 = matchString key2\n    result3 = matchString key3\n\n  assertEqual { actual: result1, expected: Just \"great\" }\n  assertEqual { actual: result2, expected: Nothing }\n  assertEqual { actual: result3, expected: Just \"good\" }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-sijidou","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustinwoo%2Fpurescript-sijidou","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustinwoo%2Fpurescript-sijidou/lists"}