{"id":19797100,"url":"https://github.com/joom/fuzzy","last_synced_at":"2025-05-01T03:31:30.737Z","repository":{"id":35390826,"uuid":"39654735","full_name":"joom/fuzzy","owner":"joom","description":"Fuzzy string search in Haskell","archived":false,"fork":false,"pushed_at":"2024-01-05T18:30:32.000Z","size":9,"stargazers_count":14,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T01:21:08.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/joom.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":"2015-07-24T20:08:56.000Z","updated_at":"2024-01-05T18:29:09.000Z","dependencies_parsed_at":"2022-09-03T18:40:27.530Z","dependency_job_id":null,"html_url":"https://github.com/joom/fuzzy","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/joom%2Ffuzzy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joom%2Ffuzzy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joom%2Ffuzzy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joom%2Ffuzzy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joom","download_url":"https://codeload.github.com/joom/fuzzy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224028291,"owners_count":17243693,"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-12T07:23:45.716Z","updated_at":"2024-11-12T07:23:46.524Z","avatar_url":"https://github.com/joom.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fuzzy\n\nFuzzy string search library in Haskell. Uses `TextualMonoid`\nfrom [monoid-subclasses](https://hackage.haskell.org/package/monoid-subclasses)\nto be able to run on different types of strings.\n\nPorted from the JavaScript equivalent [mattyork/fuzzy](https://github.com/mattyork/fuzzy).\n\n## Installation\n\n```\ncabal install fuzzy\n```\n\n## Usage\n\n```haskell\n\n\u003e import Text.Fuzzy\n\n\u003e match \"fnt\" \"infinite\" \"\" \"\" id True\nJust (\"infinite\",3)\n\n\u003e match \"hsk\" (\"Haskell\",1995) \"\u003c\" \"\u003e\" fst False\nJust (\"\u003cH\u003ea\u003cs\u003e\u003ck\u003eell\",5)\n\n\u003e filter \"ML\" [(\"Standard ML\", 1990),(\"OCaml\",1996),(\"Scala\",2003)] \"\u003c\" \"\u003e\" fst False\n[Fuzzy {original = (\"Standard ML\",1990), rendered = \"Standard \u003cM\u003e\u003cL\u003e\", score = 4},Fuzzy {original = (\"OCaml\",1996), rendered = \"Oca\u003cm\u003e\u003cl\u003e\", score = 4}]\n\n\u003e simpleFilter \"vm\" [\"vim\", \"emacs\", \"virtual machine\"]\n[\"vim\",\"virtual machine\"]\n\n\u003e test \"brd\" \"bread\"\nTrue\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoom%2Ffuzzy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoom%2Ffuzzy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoom%2Ffuzzy/lists"}