How to Install and Uninstall ghc-text-short Package on openSUSE Leap

Last updated: July 03,2024

1. Install "ghc-text-short" package

Learn how to install ghc-text-short on openSUSE Leap

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

2. Uninstall "ghc-text-short" package

This is a short guide on how to uninstall ghc-text-short on openSUSE Leap:

$ sudo zypper remove ghc-text-short

3. Information about the ghc-text-short package on openSUSE Leap

Information for package ghc-text-short:
---------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-text-short
Version : 0.1.5-150500.11.3.2
Arch : x86_64
Vendor : SUSE LLC
Support Level : Level 3
Installed Size : 197.1 KiB
Installed : No
Status : not installed
Source package : ghc-text-short-0.1.5-150500.11.3.2.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