How to Install and Uninstall ghc-lens-family-core Package on openSUSE Leap

Last updated: May 18,2024

1. Install "ghc-lens-family-core" package

Please follow the instructions below to install ghc-lens-family-core on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-lens-family-core

2. Uninstall "ghc-lens-family-core" package

Please follow the guidance below to uninstall ghc-lens-family-core on openSUSE Leap:

$ sudo zypper remove ghc-lens-family-core

3. Information about the ghc-lens-family-core package on openSUSE Leap

Information for package ghc-lens-family-core:
---------------------------------------------
Repository : Main Repository
Name : ghc-lens-family-core
Version : 2.1.0-bp155.2.16
Arch : x86_64
Vendor : openSUSE
Installed Size : 207.2 KiB
Installed : No
Status : not installed
Source package : ghc-lens-family-core-2.1.0-bp155.2.16.src
Upstream URL : https://hackage.haskell.org/package/lens-family-core
Summary : Haskell 2022 Lens Families
Description :
This package provides first class(†) functional references in Van Laarhoven
style supporting the following optics:
* Lenses (view, over)
* Traversals (toListOf, matching, over)
* Setters (over)
* Grates (zipWithOf, under, review)
* Resetters (under)
* Adapters (view, review)
* Grids (toListOf, over / under, review)
* Prisms (matching, over / under, review)
* Getters (view)
* Folders (toListOf)
* Reviewers (review)
(†) For optimal first-class support use the 'lens-family' package with rank 2 /
rank N polymorphism. "Lens.Family.Clone" allows for first-class support of
lenses and traversals for those who cannot support rank 2 polymorphism.

5. The same packages on other Linux Distributions