How to Install and Uninstall ghc-atomic-primops Package on openSUSE Leap
Last updated: November 14,2024
1. Install "ghc-atomic-primops" package
Please follow the step by step instructions below to install ghc-atomic-primops on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
ghc-atomic-primops
Copied
2. Uninstall "ghc-atomic-primops" package
Here is a brief guide to show you how to uninstall ghc-atomic-primops on openSUSE Leap:
$
sudo zypper remove
ghc-atomic-primops
Copied
3. Information about the ghc-atomic-primops package on openSUSE Leap
Information for package ghc-atomic-primops:
-------------------------------------------
Repository : Main Repository
Name : ghc-atomic-primops
Version : 0.8.4-bp155.2.16
Arch : x86_64
Vendor : openSUSE
Installed Size : 44.8 KiB
Installed : No
Status : not installed
Source package : ghc-atomic-primops-0.8.4-bp155.2.16.src
Upstream URL : https://hackage.haskell.org/package/atomic-primops
Summary : A safe approach to CAS and other atomic ops in Haskell
Description :
After GHC 7.4 a new `casMutVar#` primop became available, but it's difficult to
use safely, because pointer equality is a highly unstable property in Haskell.
This library provides a safer method based on the concept of "Tickets".
Also, this library uses the "foreign primop" capability of GHC to add access to
other variants that may be of interest, specifically, compare and swap inside
an array.
Note that as of GHC 7.8, the relevant primops have been included in GHC itself.
This library is engineered to work pre- and post-GHC-7.8, while exposing the
same interface.
-------------------------------------------
Repository : Main Repository
Name : ghc-atomic-primops
Version : 0.8.4-bp155.2.16
Arch : x86_64
Vendor : openSUSE
Installed Size : 44.8 KiB
Installed : No
Status : not installed
Source package : ghc-atomic-primops-0.8.4-bp155.2.16.src
Upstream URL : https://hackage.haskell.org/package/atomic-primops
Summary : A safe approach to CAS and other atomic ops in Haskell
Description :
After GHC 7.4 a new `casMutVar#` primop became available, but it's difficult to
use safely, because pointer equality is a highly unstable property in Haskell.
This library provides a safer method based on the concept of "Tickets".
Also, this library uses the "foreign primop" capability of GHC to add access to
other variants that may be of interest, specifically, compare and swap inside
an array.
Note that as of GHC 7.8, the relevant primops have been included in GHC itself.
This library is engineered to work pre- and post-GHC-7.8, while exposing the
same interface.