{"id":16099007,"url":"https://github.com/hellerve/match-utils","last_synced_at":"2026-03-18T17:54:26.441Z","repository":{"id":79626328,"uuid":"354407081","full_name":"hellerve/match-utils","owner":"hellerve","description":"is a collection of utility macros around match.","archived":false,"fork":false,"pushed_at":"2021-09-16T17:06:42.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T22:43:48.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/hellerve.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-04-03T22:28:34.000Z","updated_at":"2023-09-08T18:20:43.000Z","dependencies_parsed_at":"2023-05-13T22:00:08.876Z","dependency_job_id":null,"html_url":"https://github.com/hellerve/match-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hellerve/match-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fmatch-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fmatch-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fmatch-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fmatch-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellerve","download_url":"https://codeload.github.com/hellerve/match-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellerve%2Fmatch-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28587028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"last_error":"SSL_read: 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":[],"created_at":"2024-10-09T18:25:23.671Z","updated_at":"2026-01-19T22:00:49.984Z","avatar_url":"https://github.com/hellerve.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# match-utils\n\nis a collection of utility macros around `match`.\n\nWIP, the scoring has to be verified.\n\n## Usage\n\n```clojure\n; let-match lets you do a match bind\n(let-match [(Maybe.Just x) (Array.nth \u0026[@\"hi\"] 0)]\n  (println* x)) ; =\u003e \"hi\"\n\n; defn-match allows you to write pattern-matching functions\n; dispatch is optimized, but i don’t know how robustly\n(deftype Num\n  (I [Int])\n  (D [Double]))\n\n(use Num)\n(MatchUtils.defn-match add-num\n  [(I x) (I y)] (I (+ x y))\n  [(D x) (D y)] (D (+ x y))\n  [(D x) (I y)] (D (+ x (from-int y)))\n  [(I x) (D y)] (D (+ (from-int x) y)))\n```\n\n\u003chr/\u003e\n\nHave fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellerve%2Fmatch-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellerve%2Fmatch-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellerve%2Fmatch-utils/lists"}