{"id":23651524,"url":"https://github.com/athanclark/hset","last_synced_at":"2025-08-23T05:39:14.029Z","repository":{"id":66324670,"uuid":"57105360","full_name":"athanclark/HSet","owner":"athanclark","description":"A faux heterogeneous set implementation in Haskell, leveraging Typeable","archived":false,"fork":false,"pushed_at":"2023-09-28T09:33:08.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T07:11:48.876Z","etag":null,"topics":["haskell","heterogeneous-sets","hset"],"latest_commit_sha":null,"homepage":null,"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/athanclark.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2016-04-26T06:57:27.000Z","updated_at":"2023-09-28T09:33:12.000Z","dependencies_parsed_at":"2023-03-10T23:49:13.083Z","dependency_job_id":null,"html_url":"https://github.com/athanclark/HSet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/athanclark/HSet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2FHSet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2FHSet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2FHSet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2FHSet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athanclark","download_url":"https://codeload.github.com/athanclark/HSet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2FHSet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745624,"owners_count":24813513,"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-23T02:00:09.327Z","response_time":69,"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","heterogeneous-sets","hset"],"created_at":"2024-12-28T16:38:09.326Z","updated_at":"2025-08-23T05:39:14.001Z","avatar_url":"https://github.com/athanclark.png","language":"Haskell","readme":"# HSet\n\nA simple implementation of heterogeneous sets\nin Haskell, assuming they implement `Typeable`:\n\n```haskell\n{-# LANGUAGE\n    DeriveDataTypeable\n  , ScopedTypeVariables\n  #-}\n\nimport Data.Typeable\nimport Data.HSet.Mutable as HSet\nimport Control.Monad.ST\n\n\ndata Foo = Foo\n  { foo1 :: Int\n  , foo2 :: Int\n  } deriving (Typeable)\n\ndata Bar = Bar\n  { bar1 :: Double\n  } deriving (Typeable)\n\n\nmySet :: ST s (HSet s)\nmySet = do\n  xs \u003c- HSet.new\n  (fooKey :: HKey Foo) \u003c- HSet.insert (Foo 1 2) xs\n  (barKey :: HKey Bar) \u003c- HSet.insert (Bar 3.45) xs\n```\n\nYou can then do lookups and deletions with the\n`fooKey` and `barKey` mutable references.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fhset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathanclark%2Fhset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fhset/lists"}