{"id":206345,"name":"majority","ecosystem":"hackage","description":"The Boyer-Moore Majority Vote Algorithm determines if there in a list of votes\nis a candidate that holds more than half of the majority, and if so, finds\nthis candidate. It does so in time linear in the length of the input list and\nconstant memory. For a detailed description of the algorithm, see these papers:\n\nWim H. Hesselink,\n\"The Boyer-Moore Majority Vote Algorithm\",\n2005;\n\nRobert S. Boyer and J. Strother Moore,\n\"MJRTY - A Fast Majority Vote Algorithm\",\n1982.","homepage":"https://github.com/niswegmann/majority","licenses":"LicenseRef-PublicDomain","normalized_licenses":["Other"],"repository_url":"https://github.com/niswegmann/majority","keywords_array":["algorithms","library","public-domain","Propose Tags"],"namespace":null,"versions_count":2,"first_release_published_at":"2011-07-18T15:54:26.000Z","latest_release_published_at":"2011-07-18T15:57:23.000Z","latest_release_number":"1.1","latest_published_release_number":null,"last_synced_at":"2026-09-14T21:22:14.403Z","created_at":"2022-04-05T22:36:23.670Z","updated_at":"2026-09-16T11:09:10.500Z","registry_url":"https://hackage.haskell.org/package/majority","install_command":"cabal install majority","documentation_url":null,"metadata":{},"repo_metadata":{},"repo_metadata_updated_at":"2026-09-16T11:09:10.499Z","dependent_packages_count":0,"downloads":2011,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":58.24188721319171,"dependent_repos_count":55.143477495452146,"dependent_packages_count":12.217592864268529,"stargazers_count":null,"forks_count":null,"average":41.86765252430413},"purl":"pkg:hackage/majority","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/hackage/majority","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/hackage/majority","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hackage/majority/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/majority/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/majority/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/majority/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/majority/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/majority/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/majority/codemeta","maintainers":[{"uuid":"NisWegmann","login":"NisWegmann","name":null,"email":null,"url":null,"packages_count":2,"html_url":"https://hackage.haskell.org/user/NisWegmann","role":null,"created_at":"2022-11-20T07:06:10.302Z","updated_at":"2022-11-20T07:06:10.302Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/NisWegmann/packages"}]}