packages feed

text-short

Memory-efficient representation of Unicode text strings

view on Hackage

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'. The 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.
versionuploadeduploaderchanges
0.1.6.12026-01-04 20:24 UTCphadej+11/−9 lines, 1 filesdep ~basedep ~template-haskellPVP ok
0.1.62024-05-12 20:05 UTCphadej3 revisions+97/−143 lines, 5 filesdep −semigroupsdep ~basedep ~binarydep ~bytestringPVP ok
0.1.52022-01-01 00:37 UTCphadej3 revisions+57/−12 lines, 4 filesdep −quickcheck-instancesdep ~basedep ~bytestringdep ~deepseqPVP ok
0.1.42021-10-10 17:12 UTCphadej2 revisions+85/−14 lines, 5 filesdep +template-haskelldep ~basedep ~bytestringdep ~ghc-primsetup-changednew-uploaderPVP ok
0.1.32019-07-20 15:40 UTCHerbertValerioRiedel3 revisions+101/−11 lines, 5 filesdep ~basedep ~bytestringdep ~ghc-primPVP ok
0.1.22018-03-04 21:11 UTCHerbertValerioRiedel2 revisions+2801/−323 lines, 10 filesdep +ghc-primdep ~basedep ~hashabledep ~semigroupsPVP ok
0.1.12017-08-28 20:15 UTCHerbertValerioRiedel+287/−199 lines, 5 filesPVP: major bump suggested
0.12017-06-12 11:21 UTCHerbertValerioRiedel+516/−0 lines, 7 filesdep +basedep +binarydep +bytestringsetup-changed

Dependencies of text-short-0.1.6.1

base >=4.12 && <4.23 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

binary >=0.8.6.0 && <0.9 0.8.9.3 → 0.10.0.0 newer than bounds
2018-08-02 10:08 UTC0.10.0.0 newer than bounds+504/−101 lines, 10 filesdep +generic-derivingdep −tardep ~Cabaldep ~QuickCheckPVP ok
2017-03-13 22:00 UTC0.9.0.0 newer than bounds+245/−690 lines, 15 filesdep +tardep −base-orphansdep −binarydep −generic-derivingdep ~Cabaldep ~QuickCheckdep ~basePVP ok
2025-01-28 16:34 UTC0.8.9.3+8/−3 lines, 3 filesPVP ok
2024-04-12 15:16 UTC0.8.9.2+23/−9 lines, 5 filesPVP: major bump suggested
2022-08-04 23:02 UTC0.8.9.1+13/−12 lines, 3 filesPVP ok

showing 5 of 50 versions

bytestring >=0.10.8.2 && <0.13 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

deepseq >=1.4.4.0 && <1.6 1.5.2.0 → 1.6.0.0 newer than bounds
2024-09-08 16:18 UTC1.6.0.0 newer than bounds+5/−14 lines, 3 filesdep ~basePVP ok
2025-06-14 22:25 UTC1.5.2.0+13/−4 lines, 3 filesPVP: major bump suggested
2024-09-09 12:48 UTC1.5.1.0+69/−14 lines, 3 filesdep −arraydep ~basePVP: major bump suggested
2023-07-27 19:32 UTC1.5.0.0+619/−532 lines, 5 filesdep ~basePVP ok
2022-12-18 00:14 UTC1.4.8.1+34/−9 lines, 3 filesdep ~basePVP: major bump suggested

showing 5 of 26 versions

ghc-prim >=0.5.3 && <0.14 0.12.0 → 0.13.0
2024-12-16 09:29 UTC0.13.0+95/−12 lines, 6 filesPVP ok
2025-05-03 11:48 UTC0.12.0+5108/−1582 lines, 15 filesnew-uploaderPVP ok
2023-10-10 00:24 UTC0.11.0+770/−234 lines, 9 filesPVP ok
2023-03-28 14:22 UTC0.10.0+487/−297 lines, 16 filesPVP ok
2022-08-07 20:08 UTC0.9.0+2921/−2018 lines, 14 filesPVP ok

showing 5 of 15 versions

hashable >=1.4.4.0 && <1.6 1.5.0.0 → 1.5.1.0
2026-01-02 17:45 UTC1.5.1.0+7260/−6790 lines, 5 filesdep −HUnitdep −ghc-bignumdep −randomdep ~basedep ~containersPVP: major bump suggested
2024-07-04 19:38 UTC1.5.0.0+50/−156 lines, 4 filesdep −base-orphansdep −ghc-bignum-orphansdep −integer-gmpdep ~QuickCheckdep ~basedep ~bytestringPVP ok
2024-06-24 10:44 UTC1.4.7.0+8/−3 lines, 2 filesPVP ok
2024-06-09 19:43 UTC1.4.6.0+60/−83 lines, 7 filesdep −test-frameworkdep −test-framework-hunitdep −test-framework-quickcheck2PVP ok
2024-06-08 14:07 UTC1.4.5.0+7338/−256 lines, 15 filesdep +primitivedep +tastydep +tasty-hunitdep ~basedep ~bytestringdep ~containersPVP ok

showing 5 of 52 versions

tasty >=1.4 && <1.6 1.5.4 → 1.5.5
2026-10-20 23:13 UTC1.5.5+53/−26 lines, 7 filesdep +terminal-sizePVP ok
2026-03-25 20:04 UTC1.5.4+332/−166 lines, 22 filesdep −semigroupsPVP ok
2025-01-05 19:52 UTC1.5.3+36/−11 lines, 3 filesdep ~containersdep ~optparse-applicativePVP: major bump suggested
2024-11-03 00:34 UTC1.5.2+22/−5 lines, 4 filesdep ~basePVP ok
2024-06-22 10:14 UTC1.5.1+131/−63 lines, 10 filesdep ~basePVP: major bump suggested

showing 5 of 76 versions

tasty-hunit >=0.10.0 && <0.11 0.10.1 → 0.10.2
2024-06-22 10:14 UTC0.10.2+15/−7 lines, 4 filesPVP ok
2023-09-10 00:12 UTC0.10.1+30/−52 lines, 5 filesdep ~basedep ~call-stackdep ~tastynew-uploaderPVP ok
2020-12-18 09:42 UTC0.10.0.3+55/−10 lines, 4 filesdep ~basePVP ok
2019-05-15 05:50 UTC0.10.0.2+38/−8 lines, 3 filesdep ~tastyPVP: major bump suggested
2017-12-01 19:24 UTC0.10.0.1+51/−29 lines, 4 filesPVP: major bump suggested

showing 5 of 15 versions

tasty-quickcheck >=0.10 && <0.12 0.11 → 0.11.1
2025-01-05 19:53 UTC0.11.1+66/−33 lines, 4 filesdep +regex-tdfadep −pcre-lightdep ~QuickCheckdep ~basedep ~optparse-applicativePVP: major bump suggested
2024-06-22 10:14 UTC0.11+132/−49 lines, 4 filesdep ~QuickCheckPVP ok
2023-09-10 00:10 UTC0.10.3+52/−14 lines, 3 filesdep ~QuickCheckdep ~optparse-applicativedep ~randomnew-uploaderPVP ok
2021-11-20 19:17 UTC0.10.2+21/−13 lines, 3 filesdep ~basePVP: major bump suggested
2020-12-18 09:42 UTC0.10.1.2+27/−13 lines, 4 filesdep ~basePVP: major bump suggested

showing 5 of 23 versions

template-haskell >=2.14.0.0 && <2.25 2.23.0.0 → 2.24.0.0
2025-12-19 11:53 UTC2.24.0.0+606/−68 lines, 9 filesdep +ghc-internaldep ~basedep ~ghc-boot-thPVP ok
2024-12-16 09:29 UTC2.23.0.0+104/−5685 lines, 9 filesdep −ghc-primdep −prettydep ~basedep ~ghc-boot-thnew-uploaderPVP ok
2024-05-15 13:07 UTC2.22.0.0+176/−81 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-10-10 00:23 UTC2.21.0.0+275/−148 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-03-28 13:43 UTC2.20.0.0+215/−139 lines, 9 filesdep −filepathdep ~basedep ~ghc-boot-thPVP ok

showing 5 of 26 versions

text >=1.2.3.1 && <1.3 || >=2.0 && <2.2 2.1.4 → 2.1.5
2026-11-27 23:30 UTC2.1.5+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

Reverse dependencies

65 packages depend on text-short; 2 have bounds that exclude 0.1.6.1

planet-mitchell 0.1.0 requires text-short >=0.1.2 && <0.1.3 excludes current (upper bound)
utf8-conversions 0.1.0.4 requires text-short >=0.1.1 && <0.1.4 excludes current (upper bound)
aeson 2.3.3.0 requires text-short >=0.1.5 && <0.2
aeson-optics 1.2.1 requires text-short >=0.1.5 && <0.2
argon2 1.3.0.1 requires text-short >=0.1.2 && <0.2
array-builder 0.2.0.0 requires text-short >=0.1.3 && <0.2
asn1-ber-syntax 0.2.0.0 requires text-short >=0.1.3
base16 2.0 requires text-short >=0.1 && <0.2
base16-lens 0.1.3.2 requires text-short >=0.1 && <0.2
base32 1.0 requires text-short >=0.1 && <0.2
base32-lens 0.1.1.1 requires text-short >=0.1 && <0.2
base62 0.1.1.2 requires text-short >=0.1.5 && <0.2
base64 2.1 requires text-short >=0.1 && <0.2
base64-lens 0.4 requires text-short >=0.1 && <0.2
basics 0.2.0.0 requires text-short >=0.1.3 && <0.2
bound-extras 0.0.3 requires text-short >=0.1.6 && <0.2
bytebuild 0.3.17.0 requires text-short >=0.1.3 && <0.2
bytepatch 0.4.1 requires text-short >=0.1.5 && <0.2
byteslice 0.2.15.0 requires text-short >=0.1.3 && <0.2
bytesmith 0.3.14.0 requires text-short >=0.1.3 && <0.2
Cassava 0.5.1.0 requires text-short >=0.1 && <0.2
cassava 0.5.5.0 requires text-short >=0.1 && <0.2
chronos 1.1.7.0 requires text-short >=0.1.5 && <0.2
core-program 0.7.0.0 requires text-short >=0
core-text 0.3.8.1 requires text-short >=0
country 0.2.5.0 requires text-short >=0.1.3
dhall 1.42.3 requires text-short >=0.1 && <0.2
elasticsearch-interchange 0.2.0.0 requires text-short >=0.1.3 && <0.2
error-codes 0.1.3.1 requires text-short >=0.1.5
espial 0.0.42 requires text-short >=0
fir 0.1.0.0 requires text-short >=0.1.4 && <0.2
fractaltext 0.1.0 requires text-short >=0.1 && <0.2
hspretty 0.2.0.0 requires text-short >=0.1.3 && <0.2
hw-aeson 0.1.9.0 requires text-short >=0.1.3 && <0.2
intricacy 0.9.1.1 requires text-short >=0.1 && <0.2
ip 1.7.8 requires text-short >=0.1.3
json-query 0.3.0.0 requires text-short >=0.1.5
json-syntax 0.3.0.2 requires text-short >=0.1.3 && <0.2
json-tokens 0.1.0.1 requires text-short >=0.1.3 && <0.2
kafka-interchange 0.2.0.0 requires text-short >=0.1.5
keysafe 0.20200214 requires text-short >=0.1 && <0.2
LDAPv3 0.1.2.0 requires text-short >=0.1.3 && <0.2
lens-aeson 1.2.3 requires text-short >=0.1.4 && <0.2
nano-ui 0.2.0.0 requires text-short >=0.1.6 && <0.2
nestedtext 0.1.3 requires text-short >=0.1 && <0.2
one 0.0.4 requires text-short >=0.1.4 && <1
pan-os-syslog 0.2.0.0 requires text-short >=0.1.5
posix-api 0.7.3.0 requires text-short >=0.1.5
primitive-unlifted 2.2.0.0 requires text-short >=0.1.3 && <0.2
proto3-suite 0.10.0 requires text-short >=0.1.3 && <0.2
proto3-wire 1.5.0 requires text-short >=0.1 && <0.2
protobuf-builder 0.1.0.0 requires text-short >=0.1.3
qbe 1.1.0.0 requires text-short >=0.1 && <0.2
quickcheck-instances 0.4 requires text-short >=0.1.4 && <0.2
S3 0.1.0.0 requires text-short >=0.1.2 && <0.2
scientific-notation 0.1.7.0 requires text-short >=0.1.3
symbolize 1.0.3.1 requires text-short >=0.1.0 && <0.2
text-containers 0.1.0.0 requires text-short >=0.1.1 && <0.2
text-show-instances 3.9.11 requires text-short >=0.1 && <0.2
ttc 1.5.0.1 requires text-short >=0.1.3 && <0.2
unbeliever 0.11.0.1 requires text-short >=0
unlifted 0.2.4.0 requires text-short >=0.1.5
unpacked-maybe-text 0.1.0.1 requires text-short >=0.1.3 && <0.2
X 0.3.1.0 requires text-short >=0.1.3 && <0.2
xml-syntax 0.1.0.2 requires text-short >=0.1.3 && <0.2