{"id":21520948,"url":"https://github.com/globalwebindex/quantify","last_synced_at":"2025-04-09T22:21:41.610Z","repository":{"id":52435707,"uuid":"155409335","full_name":"GlobalWebIndex/quantify","owner":"GlobalWebIndex","description":"Allows you to quantify List, Set, Dict or a single value according to a predicate","archived":false,"fork":false,"pushed_at":"2023-07-12T02:39:54.000Z","size":161,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-03-24T00:15:02.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://package.elm-lang.org/packages/GlobalWebIndex/quantify/1.0.0/Quantify","language":"Elm","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/GlobalWebIndex.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}},"created_at":"2018-10-30T15:29:26.000Z","updated_at":"2021-04-29T08:59:50.000Z","dependencies_parsed_at":"2022-08-18T14:52:25.797Z","dependency_job_id":null,"html_url":"https://github.com/GlobalWebIndex/quantify","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlobalWebIndex%2Fquantify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlobalWebIndex%2Fquantify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlobalWebIndex%2Fquantify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlobalWebIndex%2Fquantify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GlobalWebIndex","download_url":"https://codeload.github.com/GlobalWebIndex/quantify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248120241,"owners_count":21050914,"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-11-24T01:04:59.420Z","updated_at":"2025-04-09T22:21:41.580Z","avatar_url":"https://github.com/GlobalWebIndex.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantify\n\n[![Build Status](https://travis-ci.org/GlobalWebIndex/quantify.svg?branch=master)](https://travis-ci.org/GlobalWebIndex/quantify)\n\nAllows you to quantify List, Set, Dict or a single value according to a predicate, by returning a `Quantifier`:\n\n```elm\ntype Quantifier\n    = None\n    | Some\n    | All\n```\n\n## Example usage\n\n```elm\nisEven : Int -\u003e Bool\nisEven number =\n    modBy 2 number == 0\n\nQuantify.list isEven [1,3,5,7]\n--\u003e None\n\nQuantify.list isEven [1,2,3,4]\n--\u003e Some\n\nQuantify.list isEven [2,4,6,8]\n--\u003e All\n```\n\nFeedback and contributions to both code and documentation are very welcome.\n\n## Installation\n\n```\n$ elm install GlobalWebIndex/quantify\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobalwebindex%2Fquantify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglobalwebindex%2Fquantify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobalwebindex%2Fquantify/lists"}