Open the imported Cabal file ↗
- author
- Herbert Valerio Riedel
- bug-reports
- https://github.com/hvr/text-short/issues
- build-type
- Simple
- cabal-version
- 1.18
- category
- Data
- extra-source-files
- ChangeLog.md
- license
- BSD3
- license-file
- LICENSE
- maintainer
- hvr@gnu.org
- name
- text-short
- synopsis
- Memory-efficient representation of Unicode text strings
- tested-with
- GHC ==8.6.5 || ==8.8.3 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.2 || ==9.12.2 || ==9.14.1
- version
- 0.1.6.1
Show the complete metadata as JSON
{
"schemaVersion": 1,
"name": "text-short",
"version": "0.1.6.1",
"cabalVersion": "1.18",
"buildType": "Simple",
"fields": {
"author": [
"Herbert Valerio Riedel"
],
"bug-reports": [
"https://github.com/hvr/text-short/issues"
],
"build-type": [
"Simple"
],
"cabal-version": [
"1.18"
],
"category": [
"Data"
],
"description": [
"This package provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to how 'ShortByteString' relates to 'ByteString'.\n.\nThe main difference between 'Text' and 'ShortText' is that 'ShortText' doesn't support zero-copy slicing (thereby saving 2 words), and, compared to text-1.*, that it uses UTF-8 instead of UTF-16 internally. Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload."
],
"extra-source-files": [
"ChangeLog.md"
],
"license": [
"BSD3"
],
"license-file": [
"LICENSE"
],
"maintainer": [
"hvr@gnu.org"
],
"name": [
"text-short"
],
"synopsis": [
"Memory-efficient representation of Unicode text strings"
],
"tested-with": [
"GHC ==8.6.5\n|| ==8.8.3\n|| ==8.10.7\n|| ==9.0.2\n|| ==9.2.8\n|| ==9.4.8\n|| ==9.6.6\n|| ==9.8.4\n|| ==9.10.2\n|| ==9.12.2\n|| ==9.14.1"
],
"version": [
"0.1.6.1"
]
},
"components": [
{
"kind": "library",
"name": "main",
"tree": {
"data": {
"buildable": null,
"exposedModules": [
"Data.Text.Short",
"Data.Text.Short.Partial",
"Data.Text.Short.Unsafe"
],
"otherModules": [
"Data.Text.Short.Internal",
"PrimOps"
],
"dependencies": [
{
"package": "base",
"range": ">=4.12 && <4.23",
"libraries": [
"main"
]
},
{
"package": "binary",
"range": ">=0.8.6.0 && <0.9",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": ">=0.10.8.2 && <0.13",
"libraries": [
"main"
]
},
{
"package": "deepseq",
"range": ">=1.4.4.0 && <1.6",
"libraries": [
"main"
]
},
{
"package": "ghc-prim",
"range": ">=0.5.3 && <0.14",
"libraries": [
"main"
]
},
{
"package": "hashable",
"range": ">=1.4.4.0 && <1.6",
"libraries": [
"main"
]
},
{
"package": "template-haskell",
"range": ">=2.14.0.0 && <2.25",
"libraries": [
"main"
]
},
{
"package": "text",
"range": ">=1.2.3.1 && <1.3 || >=2.0 && <2.2",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"flag": "asserts"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
}
}
]
}
},
{
"kind": "test-suite",
"name": "text-short-tests",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "binary",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "bytestring",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "text",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "text-short",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "tasty",
"range": ">=1.4 && <1.6",
"libraries": [
"main"
]
},
{
"package": "tasty-hunit",
"range": ">=0.10.0 && <0.11",
"libraries": [
"main"
]
},
{
"package": "tasty-quickcheck",
"range": ">=0.10 && <0.12",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": []
}
}
],
"setupDependencies": [],
"flags": [
{
"name": "asserts",
"default": false,
"manual": true,
"description": "Enable runtime-checks via @assert@"
}
],
"sourceRepositories": [
{
"kind": "head",
"fields": {
"location": [
"https://github.com/hvr/text-short.git"
],
"type": [
"git"
]
}
}
],
"warnings": [],
"sourceUrl": "https://hackage.haskell.org/package/text-short-0.1.6.1/text-short.cabal",
"sha256": "330b037a4f74c069e1ecfe0908baf8fb526526ef35f47922bd67ae2b3d886864",
"importedAt": "2026-10-14T12:49:04.846Z",
"dependencies": [
{
"package": "base",
"range": ">=4.12 && <4.23",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "binary",
"range": ">=0.8.6.0 && <0.9",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "bytestring",
"range": ">=0.10.8.2 && <0.13",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "deepseq",
"range": ">=1.4.4.0 && <1.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "ghc-prim",
"range": ">=0.5.3 && <0.14",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "hashable",
"range": ">=1.4.4.0 && <1.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "template-haskell",
"range": ">=2.14.0.0 && <2.25",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "text",
"range": ">=1.2.3.1 && <1.3 || >=2.0 && <2.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "base",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
},
{
"package": "binary",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
},
{
"package": "bytestring",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
},
{
"package": "text",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
},
{
"package": "text-short",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
},
{
"package": "tasty",
"range": ">=1.4 && <1.6",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
},
{
"package": "tasty-hunit",
"range": ">=0.10.0 && <0.11",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
},
{
"package": "tasty-quickcheck",
"range": ">=0.10 && <0.12",
"libraries": [
"main"
],
"component": "test-suite:text-short-tests",
"conditions": []
}
],
"exposedModules": [
"Data.Text.Short",
"Data.Text.Short.Partial",
"Data.Text.Short.Unsafe"
],
"documents": {
"readme": {
"status": "missing",
"sha256": null,
"error": null,
"checkedAt": "2026-10-14T12:49:05.516Z"
},
"changelog": {
"status": "available",
"sha256": "1d2c72b6cf9e602d5f3a79d768e61dfa8114ccb1d43fa736e408f4f9e414894b",
"error": null,
"checkedAt": "2026-10-14T12:49:05.838Z"
}
},
"documentation": null,
"versions": [
{
"version": "0.1.6.1",
"imported_at": "2026-10-14T12:49:04.846Z"
}
]
}