How to Install and Uninstall ghc-text-short Package on openSuSE Tumbleweed

Last updated: December 26,2024

1. Install "ghc-text-short" package

This tutorial shows how to install ghc-text-short on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install ghc-text-short

2. Uninstall "ghc-text-short" package

Learn how to uninstall ghc-text-short on openSuSE Tumbleweed:

$ sudo zypper remove ghc-text-short

3. Information about the ghc-text-short package on openSuSE Tumbleweed

Information for package ghc-text-short:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-text-short
Version : 0.1.5-4.4
Arch : x86_64
Vendor : openSUSE
Installed Size : 193.1 KiB
Installed : No
Status : not installed
Source package : ghc-text-short-0.1.5-4.4.src
Upstream URL : https://hackage.haskell.org/package/text-short
Summary : Memory-efficient representation of Unicode text strings
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'.
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.

5. The same packages on other Linux Distributions