{"id":16313975,"url":"https://github.com/lysxia/type-map","last_synced_at":"2026-03-05T23:14:49.170Z","repository":{"id":45143656,"uuid":"87001464","full_name":"Lysxia/type-map","owner":"Lysxia","description":"Type-indexed maps, or a lightweight record library","archived":false,"fork":false,"pushed_at":"2022-01-05T15:44:33.000Z","size":65,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-26T01:02:26.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/type-map","language":"Haskell","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/Lysxia.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}},"created_at":"2017-04-02T17:03:47.000Z","updated_at":"2022-01-05T15:44:36.000Z","dependencies_parsed_at":"2022-07-21T06:18:39.518Z","dependency_job_id":null,"html_url":"https://github.com/Lysxia/type-map","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lysxia%2Ftype-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lysxia%2Ftype-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lysxia%2Ftype-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lysxia%2Ftype-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lysxia","download_url":"https://codeload.github.com/Lysxia/type-map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221839369,"owners_count":16889609,"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":[],"created_at":"2024-10-10T21:52:51.027Z","updated_at":"2026-03-05T23:14:49.122Z","avatar_url":"https://github.com/Lysxia.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Type-indexed maps [![Hackage](https://img.shields.io/hackage/v/type-map.svg)](https://hackage.haskell.org/package/type-map) [![Build status](https://github.com/Lysxia/type-map/actions/workflows/haskell-ci.yml/badge.svg)](https://github.com/Lysxia/type-map/actions)\n=================\n\nMaps whose keys are types.\n\nThis package includes:\n\n- a dynamic type map using GHC's `Typeable` class,\n  with a `Proxy`-based API (`Data.TypeMap.Dynamic`)\n  or a `TypeApplications`-based API (`Data.TypeMap.Dynamic.Alt`);\n  Supports arbitrary, user-defined mappings between keys and\n  types of values via defunctionalization.\n\n- a static type map, whose type is indexed by its list of keys\n  (there are actually multiple implementations with different underlying\n  representations (`[]`, `Map`, `Vector`)).\n\n[Example using the dynamically-typed\ninterface](https://github.com/Lysxia/type-map/tree/master/examples/dynamic.hs).\n\nSee also [this package's description on Hackage](https://hackage.haskell.org/package/type-map).\n\nRelated\n-------\n\n- [typerep-map](https://hackage.haskell.org/package/typerep-map),\n  a more performant dynamic type map.\n\nInternal module policy\n----------------------\n\nModules under `Data.TypeMap.Internal` are not subject to any versioning policy.\nBreaking changes may apply to them at any time.\n\nIf something in those modules seems useful, please report it or create a pull\nrequest to export it from an external module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flysxia%2Ftype-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flysxia%2Ftype-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flysxia%2Ftype-map/lists"}