{"id":28211011,"url":"https://github.com/darinm223/generic","last_synced_at":"2026-01-25T10:32:46.683Z","repository":{"id":164943657,"uuid":"640358921","full_name":"DarinM223/generic","owner":"DarinM223","description":"Port of generic library to smlpkg (targeting MLton, PolyML, MLKit, and SMLNJ v110.99.4)","archived":false,"fork":false,"pushed_at":"2024-03-17T04:48:25.000Z","size":134,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T03:35:49.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Standard ML","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/DarinM223.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}},"created_at":"2023-05-13T20:27:24.000Z","updated_at":"2025-01-13T05:45:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"40308adc-bed9-4fb9-8500-ea122f361c47","html_url":"https://github.com/DarinM223/generic","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/DarinM223/generic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fgeneric","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fgeneric/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fgeneric/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fgeneric/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarinM223","download_url":"https://codeload.github.com/DarinM223/generic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fgeneric/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28751816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"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":[],"created_at":"2025-05-17T17:10:56.420Z","updated_at":"2026-01-25T10:32:46.677Z","avatar_url":"https://github.com/DarinM223.png","language":"Standard ML","funding_links":[],"categories":[],"sub_categories":[],"readme":"generic\n=======\n\nA port of Vesa Karvonen's generic library to smlpkg, targeting MLton.\n\nIt is an implementation of type indexed values\nso that you can derive pretty, hash, ord, arbitrary, pickle, uniplate, etc from one representation.\n\nTo add the library with smlpkg, run:\n\n```\nsmlpkg add github.com/DarinM223/generic\n```\n\nThen include:\n\n```\nlib/github.com/DarinM223/generic/lib-all.mlb\n```\n\ninto your mlb file to derive everything. If you only want to derive certain things, include:\n\n```\nlib/github.com/DarinM223/generic/lib.mlb\n```\n\nand\n\n```\nlib/github.com/DarinM223/generic/with/generic.sml\nlib/github.com/DarinM223/generic/with/eq.sml\n...\n```\n\nfor the things you want to derive.\n\nFor building with Poly/ML, you would want a build script generated by `smlgen -proj \u003cproject_name\u003e` that generates a `build.sml` PolyML file from a `.mlb` file. That script should automatically autowire all the MLton specific files into Poly/ML specific ones.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarinm223%2Fgeneric","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarinm223%2Fgeneric","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarinm223%2Fgeneric/lists"}