{"id":16662223,"url":"https://github.com/lev135/space-consumers","last_synced_at":"2026-07-13T16:31:26.924Z","repository":{"id":119084244,"uuid":"556584732","full_name":"Lev135/space-consumers","owner":"Lev135","description":"Improved space consumers for megaparsec library","archived":false,"fork":false,"pushed_at":"2022-11-09T21:40:03.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T20:27:09.242Z","etag":null,"topics":["haskell","haskell-library","megaparsec","parsing"],"latest_commit_sha":null,"homepage":"","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/Lev135.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-24T06:01:17.000Z","updated_at":"2022-10-24T06:18:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"476b870f-15a2-48d4-9b34-7065d6e32e1e","html_url":"https://github.com/Lev135/space-consumers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lev135/space-consumers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lev135%2Fspace-consumers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lev135%2Fspace-consumers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lev135%2Fspace-consumers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lev135%2Fspace-consumers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lev135","download_url":"https://codeload.github.com/Lev135/space-consumers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lev135%2Fspace-consumers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35429402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"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","haskell-library","megaparsec","parsing"],"created_at":"2024-10-12T10:37:19.244Z","updated_at":"2026-07-13T16:31:26.903Z","avatar_url":"https://github.com/Lev135.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Improved space consumers for megaparsec\n===\n\nThis package provides an alternative approach for white space consuming to\n[Text.Megaparsec.Char.Lexer](https://hackage.haskell.org/package/megaparsec-9.2.2/docs/Text-Megaparsec-Char-Lexer.html).\n\n*WARNING this package is under implementation*. Bugs are very likely here. All\nbehavior is instable, don't rely on any version policy.\n\nAvailable features\n---\nAt the moment `Text.Megaparsec.Char.Lexer.New` provides combinators mostly like\nstandard megaparsec lexer does with the following differences:\n\n- there is a special `newtype` for line space consumers and a type synonym for\n  the space and eols consumers\n- `indentBlock` replaced by a more flexible `block` and `headedBlock`\n  combinators\n- `lineFold` behavior changed\n\nIn general, new approach impose more restrictions on how white space should be\nconsumed. In my experience not enough clear rules leads here to bugs so I'd like\nto restrict them. However, I don't think current implementation to be the\nonly right, so I'd like to consider any other proposals and maybe change the\nlib's behavior.\n\nUsage\n---\nJust import `Text.Megaparsec.Char.Lexer.New` instead of\n`Text.Megaparsec.Char.Lexer` --- all you need is exported from there.\n\nContribution\n---\nIssues (bugs, feature requests or otherwise feedback) may be reported in the\n[GitHub issue tracker](https://github.com/Lev135/space-consumers/issues).\n\nPull requests are also welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flev135%2Fspace-consumers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flev135%2Fspace-consumers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flev135%2Fspace-consumers/lists"}