Open the imported Cabal file ↗
- author
- Megaparsec contributors, Paolo Martini <paolo@nemail.it>, Daan Leijen <daan@microsoft.com>
- bug-reports
- https://github.com/mrkkrp/megaparsec/issues
- build-type
- Simple
- cabal-version
- 2.4
- category
- Parsing
- extra-doc-files
- CHANGELOG.md README.md
- homepage
- https://github.com/mrkkrp/megaparsec
- license
- BSD-2-Clause
- license-file
- LICENSE.md
- maintainer
- Mark Karpov <markkarpov92@gmail.com>
- name
- megaparsec
- synopsis
- Monadic parser combinators
- tested-with
- ghc ==9.6.7 ghc ==9.8.4 ghc ==9.10.3 ghc ==9.12.4 ghc ==9.14.1
- version
- 9.8.3
Show the complete metadata as JSON
{
"schemaVersion": 1,
"name": "megaparsec",
"version": "9.8.3",
"cabalVersion": "2.4",
"buildType": "Simple",
"fields": {
"author": [
"Megaparsec contributors,\nPaolo Martini <paolo@nemail.it>,\nDaan Leijen <daan@microsoft.com>"
],
"bug-reports": [
"https://github.com/mrkkrp/megaparsec/issues"
],
"build-type": [
"Simple"
],
"cabal-version": [
"2.4"
],
"category": [
"Parsing"
],
"description": [
"This is an industrial-strength monadic parser combinator library.\nMegaparsec is a feature-rich package that tries to find a nice balance\nbetween speed, flexibility, and quality of parse errors."
],
"extra-doc-files": [
"CHANGELOG.md\nREADME.md"
],
"homepage": [
"https://github.com/mrkkrp/megaparsec"
],
"license": [
"BSD-2-Clause"
],
"license-file": [
"LICENSE.md"
],
"maintainer": [
"Mark Karpov <markkarpov92@gmail.com>"
],
"name": [
"megaparsec"
],
"synopsis": [
"Monadic parser combinators"
],
"tested-with": [
"ghc ==9.6.7 ghc ==9.8.4 ghc ==9.10.3 ghc ==9.12.4 ghc ==9.14.1"
],
"version": [
"9.8.3"
]
},
"components": [
{
"kind": "library",
"name": "main",
"tree": {
"data": {
"buildable": null,
"exposedModules": [
"Text.Megaparsec",
"Text.Megaparsec.Byte",
"Text.Megaparsec.Byte.Binary",
"Text.Megaparsec.Byte.Lexer",
"Text.Megaparsec.Char",
"Text.Megaparsec.Char.Lexer",
"Text.Megaparsec.Debug",
"Text.Megaparsec.Error",
"Text.Megaparsec.Error.Builder",
"Text.Megaparsec.Internal",
"Text.Megaparsec.Pos",
"Text.Megaparsec.State",
"Text.Megaparsec.Stream",
"Text.Megaparsec.Unicode"
],
"otherModules": [
"Text.Megaparsec.Class",
"Text.Megaparsec.Common",
"Text.Megaparsec.Lexer",
"Text.Megaparsec.Unicode.Tables"
],
"dependencies": [
{
"package": "array",
"range": ">=0.5.3 && <0.6",
"libraries": [
"main"
]
},
{
"package": "base",
"range": ">=4.18 && <5",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": ">=0.2 && <0.13",
"libraries": [
"main"
]
},
{
"package": "case-insensitive",
"range": ">=1.2 && <1.3",
"libraries": [
"main"
]
},
{
"package": "containers",
"range": ">=0.5 && <0.9",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": ">=1.3 && <1.6",
"libraries": [
"main"
]
},
{
"package": "mtl",
"range": ">=2.2.2 && <3",
"libraries": [
"main"
]
},
{
"package": "parser-combinators",
"range": ">=1.0 && <2",
"libraries": [
"main"
]
},
{
"package": "scientific",
"range": ">=0.3.7 && <0.4",
"libraries": [
"main"
]
},
{
"package": "text",
"range": ">=0.2 && <2.2",
"libraries": [
"main"
]
},
{
"package": "transformers",
"range": ">=0.4 && <0.7",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"flag": "dev"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
}
},
{
"condition": {
"compiler": "ghc",
"range": ">=9.8"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
}
]
}
},
{
"kind": "benchmark",
"name": "bench-speed",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": ">=4.18 && <5",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": ">=0.2 && <0.13",
"libraries": [
"main"
]
},
{
"package": "containers",
"range": ">=0.5 && <0.9",
"libraries": [
"main"
]
},
{
"package": "criterion",
"range": ">=0.6.2.1 && <1.7",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": ">=1.3 && <1.6",
"libraries": [
"main"
]
},
{
"package": "megaparsec",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "text",
"range": ">=0.2 && <2.2",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": [
{
"condition": {
"flag": "dev"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
}
}
]
}
},
{
"kind": "benchmark",
"name": "bench-memory",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": ">=4.18 && <5",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": ">=0.2 && <0.13",
"libraries": [
"main"
]
},
{
"package": "containers",
"range": ">=0.5 && <0.9",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": ">=1.3 && <1.6",
"libraries": [
"main"
]
},
{
"package": "megaparsec",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "text",
"range": ">=0.2 && <2.2",
"libraries": [
"main"
]
},
{
"package": "weigh",
"range": ">=0.0.4",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": [
{
"condition": {
"flag": "dev"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
}
}
]
}
}
],
"setupDependencies": [],
"flags": [
{
"name": "dev",
"default": false,
"manual": true,
"description": "Turn on development settings."
}
],
"sourceRepositories": [
{
"kind": "head",
"fields": {
"location": [
"https://github.com/mrkkrp/megaparsec.git"
],
"type": [
"git"
]
}
}
],
"warnings": [],
"sourceUrl": "https://hackage.haskell.org/package/megaparsec-9.8.3/megaparsec.cabal",
"sha256": "0b854c49b56e0fcaa9d374d337e23a5c188a65bf47dc9c238ff39e36375a50dd",
"importedAt": "2026-10-14T12:48:48.093Z",
"dependencies": [
{
"package": "array",
"range": ">=0.5.3 && <0.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "base",
"range": ">=4.18 && <5",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "bytestring",
"range": ">=0.2 && <0.13",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "case-insensitive",
"range": ">=1.2 && <1.3",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "containers",
"range": ">=0.5 && <0.9",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "deepseq",
"range": ">=1.3 && <1.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "mtl",
"range": ">=2.2.2 && <3",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "parser-combinators",
"range": ">=1.0 && <2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "scientific",
"range": ">=0.3.7 && <0.4",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "text",
"range": ">=0.2 && <2.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "transformers",
"range": ">=0.4 && <0.7",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "base",
"range": ">=4.18 && <5",
"libraries": [
"main"
],
"component": "benchmark:bench-speed",
"conditions": []
},
{
"package": "bytestring",
"range": ">=0.2 && <0.13",
"libraries": [
"main"
],
"component": "benchmark:bench-speed",
"conditions": []
},
{
"package": "containers",
"range": ">=0.5 && <0.9",
"libraries": [
"main"
],
"component": "benchmark:bench-speed",
"conditions": []
},
{
"package": "criterion",
"range": ">=0.6.2.1 && <1.7",
"libraries": [
"main"
],
"component": "benchmark:bench-speed",
"conditions": []
},
{
"package": "deepseq",
"range": ">=1.3 && <1.6",
"libraries": [
"main"
],
"component": "benchmark:bench-speed",
"conditions": []
},
{
"package": "megaparsec",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench-speed",
"conditions": []
},
{
"package": "text",
"range": ">=0.2 && <2.2",
"libraries": [
"main"
],
"component": "benchmark:bench-speed",
"conditions": []
},
{
"package": "base",
"range": ">=4.18 && <5",
"libraries": [
"main"
],
"component": "benchmark:bench-memory",
"conditions": []
},
{
"package": "bytestring",
"range": ">=0.2 && <0.13",
"libraries": [
"main"
],
"component": "benchmark:bench-memory",
"conditions": []
},
{
"package": "containers",
"range": ">=0.5 && <0.9",
"libraries": [
"main"
],
"component": "benchmark:bench-memory",
"conditions": []
},
{
"package": "deepseq",
"range": ">=1.3 && <1.6",
"libraries": [
"main"
],
"component": "benchmark:bench-memory",
"conditions": []
},
{
"package": "megaparsec",
"range": "-any",
"libraries": [
"main"
],
"component": "benchmark:bench-memory",
"conditions": []
},
{
"package": "text",
"range": ">=0.2 && <2.2",
"libraries": [
"main"
],
"component": "benchmark:bench-memory",
"conditions": []
},
{
"package": "weigh",
"range": ">=0.0.4",
"libraries": [
"main"
],
"component": "benchmark:bench-memory",
"conditions": []
}
],
"exposedModules": [
"Text.Megaparsec",
"Text.Megaparsec.Byte",
"Text.Megaparsec.Byte.Binary",
"Text.Megaparsec.Byte.Lexer",
"Text.Megaparsec.Char",
"Text.Megaparsec.Char.Lexer",
"Text.Megaparsec.Debug",
"Text.Megaparsec.Error",
"Text.Megaparsec.Error.Builder",
"Text.Megaparsec.Internal",
"Text.Megaparsec.Pos",
"Text.Megaparsec.State",
"Text.Megaparsec.Stream",
"Text.Megaparsec.Unicode"
],
"documents": {
"readme": {
"status": "available",
"sha256": "5f396514d74e11016868878c2c8b8627594c6911d485d07ad7421bc851fa85c1",
"error": null,
"checkedAt": "2026-10-14T12:48:49.040Z"
},
"changelog": {
"status": "available",
"sha256": "4c03fb86e7e0daf560658343571444716863face4d9ad68f16b394758c8449db",
"error": null,
"checkedAt": "2026-10-14T12:48:49.053Z"
}
},
"documentation": null,
"versions": [
{
"version": "9.8.3",
"imported_at": "2026-10-14T12:48:48.093Z"
}
]
}