How to Install and Uninstall ghc-async Package on openSuSE Tumbleweed
Last updated: November 23,2024
1. Install "ghc-async" package
Learn how to install ghc-async on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
ghc-async
Copied
2. Uninstall "ghc-async" package
Please follow the steps below to uninstall ghc-async on openSuSE Tumbleweed:
$
sudo zypper remove
ghc-async
Copied
3. Information about the ghc-async package on openSuSE Tumbleweed
Information for package ghc-async:
----------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-async
Version : 2.2.5-1.4
Arch : x86_64
Vendor : openSUSE
Installed Size : 205.7 KiB
Installed : No
Status : not installed
Source package : ghc-async-2.2.5-1.4.src
Upstream URL : https://hackage.haskell.org/package/async
Summary : Run IO operations asynchronously and wait for their results
Description :
This package provides a higher-level interface over threads, in which an 'Async
a' is a concurrent thread that will eventually deliver a value of type 'a'.
The package provides ways to create 'Async' computations, wait for their
results, and cancel them.
Using 'Async' is safer than using threads in two ways:
* When waiting for a thread to return a result, if the thread dies with an
exception then the caller must either re-throw the exception ('wait') or handle
it ('waitCatch'); the exception cannot be ignored.
* The API makes it possible to build a tree of threads that are automatically
killed when their parent dies (see 'withAsync').
----------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-async
Version : 2.2.5-1.4
Arch : x86_64
Vendor : openSUSE
Installed Size : 205.7 KiB
Installed : No
Status : not installed
Source package : ghc-async-2.2.5-1.4.src
Upstream URL : https://hackage.haskell.org/package/async
Summary : Run IO operations asynchronously and wait for their results
Description :
This package provides a higher-level interface over threads, in which an 'Async
a' is a concurrent thread that will eventually deliver a value of type 'a'.
The package provides ways to create 'Async' computations, wait for their
results, and cancel them.
Using 'Async' is safer than using threads in two ways:
* When waiting for a thread to return a result, if the thread dies with an
exception then the caller must either re-throw the exception ('wait') or handle
it ('waitCatch'); the exception cannot be ignored.
* The API makes it possible to build a tree of threads that are automatically
killed when their parent dies (see 'withAsync').