How to Install and Uninstall ghc-async Package on openSUSE Leap
Last updated: November 23,2024
1. Install "ghc-async" package
Here is a brief guide to show you how to install ghc-async on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
ghc-async
Copied
2. Uninstall "ghc-async" package
This guide covers the steps necessary to uninstall ghc-async on openSUSE Leap:
$
sudo zypper remove
ghc-async
Copied
3. Information about the ghc-async package on openSUSE Leap
Information for package ghc-async:
----------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-async
Version : 2.2.5-150500.3.3.2
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 181.9 KiB
Installed : No
Status : not installed
Source package : ghc-async-2.2.5-150500.3.3.2.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 : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-async
Version : 2.2.5-150500.3.3.2
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 181.9 KiB
Installed : No
Status : not installed
Source package : ghc-async-2.2.5-150500.3.3.2.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').