{"id":17251099,"url":"https://github.com/fumieval/word-compat","last_synced_at":"2025-08-02T08:04:08.413Z","repository":{"id":40697657,"uuid":"471243129","full_name":"fumieval/word-compat","owner":"fumieval","description":"Compatibility shim for GHC's small integer primitives","archived":false,"fork":false,"pushed_at":"2022-09-28T07:58:44.000Z","size":23,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T22:26:47.062Z","etag":null,"topics":["haskell"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/word-compat","language":"Haskell","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/fumieval.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-18T05:10:10.000Z","updated_at":"2023-01-18T15:39:38.000Z","dependencies_parsed_at":"2023-01-18T09:47:05.477Z","dependency_job_id":null,"html_url":"https://github.com/fumieval/word-compat","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fumieval/word-compat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumieval%2Fword-compat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumieval%2Fword-compat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumieval%2Fword-compat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumieval%2Fword-compat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fumieval","download_url":"https://codeload.github.com/fumieval/word-compat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumieval%2Fword-compat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268351014,"owners_count":24236328,"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-08-02T02:00:12.353Z","response_time":74,"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":["haskell"],"created_at":"2024-10-15T06:50:20.165Z","updated_at":"2025-08-02T08:04:08.390Z","avatar_url":"https://github.com/fumieval.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# word-compat\n\n[![Hackage](https://img.shields.io/hackage/v/word-compat.svg)](https://hackage.haskell.org/package/word-compat)\n![Haskell CI](https://github.com/fumieval/word-compat/workflows/Haskell%20CI/badge.svg)\n\nSince GHC 9.2, [Small Word and Int types are now defined in terms of the new primitives with corresponding sizes, not Word# Int#](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0074-small-primitives.rst).\nThis broke a (somewhat surprising) number of code, leaving a bunch of packages still behind GHC 9.2.\n\nThis package provides pattern synonyms that resemble the old constructors of small Int/Word types, and you can save a lot of work of explicitly writing `wordXXToWord` and `wordToWordXX` for each use site.\n\nMost likely you'll be able to get your code buildable just by replacing `GHC.Word` by `GHC.Word.Compat`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumieval%2Fword-compat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffumieval%2Fword-compat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumieval%2Fword-compat/lists"}