{"id":13687356,"url":"https://github.com/juspay/jrec","last_synced_at":"2025-06-22T16:42:08.505Z","repository":{"id":41586867,"uuid":"282945483","full_name":"juspay/jrec","owner":"juspay","description":"Literally the best anonymous records","archived":false,"fork":false,"pushed_at":"2023-03-13T00:52:55.000Z","size":101,"stargazers_count":36,"open_issues_count":9,"forks_count":7,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-12T10:46:26.922Z","etag":null,"topics":["haskell","records"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juspay.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-27T15:54:15.000Z","updated_at":"2024-04-15T19:33:35.000Z","dependencies_parsed_at":"2024-11-12T10:42:42.698Z","dependency_job_id":null,"html_url":"https://github.com/juspay/jrec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Fjrec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Fjrec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Fjrec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Fjrec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juspay","download_url":"https://codeload.github.com/juspay/jrec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251874946,"owners_count":21658116,"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","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","records"],"created_at":"2024-08-02T15:00:53.300Z","updated_at":"2025-05-01T12:33:21.214Z","avatar_url":"https://github.com/juspay.png","language":"Haskell","readme":"# jrec — anonymous records for busy people\n\nBased on [superrecord](https://hackage.haskell.org/package/superrecord), but simplified. No automatic field reordering. No GHCJS bits inside. Easier to hack on.\n\n## Benefits\n\n* Nice construction syntax:\n\n  ```haskell\n  Rec (#id := 18853, #orderId := \"MG13-233\")\n  ```\n\n* Provides `Generic` instances out of the box. Aeson, etc can't believe these aren't normal records! Anything `Generic`-derived just works.\n\n* Provides `generic-lens` and `generic-optics` instances out of the box. Due to those custom instances, we support polymorphic updates.\n\n* O(1) field access, O(n) construction.\n\n* PureScript-style partial records — if you have a `Rec (\"foo\" := Int ': rest)`, `HasField \"foo\"` will work just fine.\n\n## Developing\n\nIDE support is available inside `nix-shell`. For example, if you use VS Code, you may launch it as:\n\n```bash\nnix-shell --run \"code .\"\n```\n\n### Tests\n\nRun `bin/test` for fast-reloading tests. When library sources change, the test script will reload instantly and re-run the tests.\n\n## TODOs\n\n* Documentation.\n* Expose all internals.\n* `-- NOTE: doesn't use 'KeyDoesNotExist'` — fix this.\n* `RemoveAccessTo` — can we get rid of it?\n\n## Acknowledgement\n\n* The `JRec.Internal` module is entirely based on the code from [superrecord](https://hackage.haskell.org/package/superrecord).\n","funding_links":[],"categories":["Haskell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuspay%2Fjrec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuspay%2Fjrec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuspay%2Fjrec/lists"}