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

Last updated: May 20,2024

1. Install "ghc-HsYAML" package

This guide covers the steps necessary to install ghc-HsYAML on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-HsYAML

2. Uninstall "ghc-HsYAML" package

Here is a brief guide to show you how to uninstall ghc-HsYAML on openSUSE Leap:

$ sudo zypper remove ghc-HsYAML

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

Information for package ghc-HsYAML:
-----------------------------------
Repository : Main Repository
Name : ghc-HsYAML
Version : 0.2.1.1-150500.1.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 2.0 MiB
Installed : No
Status : not installed
Source package : ghc-HsYAML-0.2.1.1-150500.1.1.src
Upstream URL : https://hackage.haskell.org/package/HsYAML
Summary : Pure Haskell YAML 1.2 processor
Description :
'HsYAML' is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e.
a library for parsing and serializing YAML documents.
Features of 'HsYAML' include:
* Pure Haskell implementation with small dependency footprint and emphasis on
strict compliance with the [YAML 1.2
specification](http://yaml.org/spec/1.2/spec.html). * Direct decoding to native
Haskell types via ('aeson'-inspired) typeclass-based API (see "Data.YAML").
* Allows round-tripping while preserving ordering, anchors, and comments at
Event-level. * Support for constructing custom YAML node graph representation
(including support for cyclic YAML data structures). * Support for the standard
(untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ "schemas"
providing implicit typing rules as defined in the YAML 1.2 specification
(including support for user-defined custom schemas; see "Data.YAML.Schema").
* Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible)
/Core/ "schemas" (including support for user-defined custom encoding schemas;
see "Data.YAML.Schema"). * Event-based API resembling LibYAML's Event-based API
(see "Data.YAML.Event"). * Low-level API access to lexical token-based scanner
(see "Data.YAML.Token").
See also the package
which allows to decode and encode YAML by leveraging 'aeson''s 'FromJSON' and
'ToJSON' instances.