How to Install and Uninstall ghc-cassava Package on openSUSE Leap

Last updated: May 17,2024

1. Install "ghc-cassava" package

This guide let you learn how to install ghc-cassava on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-cassava

2. Uninstall "ghc-cassava" package

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

$ sudo zypper remove ghc-cassava

3. Information about the ghc-cassava package on openSUSE Leap

Information for package ghc-cassava:
------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-cassava
Version : 0.5.3.0-150500.11.3.2
Arch : x86_64
Vendor : SUSE LLC
Support Level : Level 3
Installed Size : 1.1 MiB
Installed : No
Status : not installed
Source package : ghc-cassava-0.5.3.0-150500.11.3.2.src
Upstream URL : https://hackage.haskell.org/package/cassava
Summary : A CSV parsing and encoding library
Description :
'cassava' is a library for parsing and encoding [RFC
4180](https://tools.ietf.org/html/rfc4180) compliant [comma-separated values
(CSV)](https://en.wikipedia.org/wiki/Comma-separated_values) data, which is a
textual line-oriented format commonly used for exchanging tabular data.
'cassava''s API includes support for
- Index-based record-conversion - Name-based record-conversion - Typeclass
directed conversion of fields and records - Built-in field-conversion instances
for standard types - Customizable record-conversion instance derivation via GHC
generics - Low-level
[bytestring](https://hackage.haskell.org/package/bytestring) builders (see
"Data.Csv.Builder") - Incremental decoding and encoding API (see
"Data.Csv.Incremental") - Streaming API for constant-space decoding (see
"Data.Csv.Streaming")
Moreover, this library is designed to be easy to use; for instance, here's a
very simple example of encoding CSV data:
>>> Data.Csv.encode [("John",27),("Jane",28)] "John,27rnJane,28rn"
Please refer to the documentation in "Data.Csv" and the included
[README](#readme) for more usage examples.

5. The same packages on other Linux Distributions