How to Install and Uninstall ghc-strict.x86_64 Package on Red Hat Enterprise Linux 9 (RHEL 9)
Last updated: November 27,2024
1. Install "ghc-strict.x86_64" package
This tutorial shows how to install ghc-strict.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)
$
sudo dnf update
Copied
$
sudo dnf install
ghc-strict.x86_64
Copied
2. Uninstall "ghc-strict.x86_64" package
This guide covers the steps necessary to uninstall ghc-strict.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):
$
sudo dnf remove
ghc-strict.x86_64
Copied
$
sudo dnf autoremove
Copied
3. Information about the ghc-strict.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)
Last metadata expiration check: 1:03:34 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : ghc-strict
Version : 0.4.0.1
Release : 2.el9
Architecture : x86_64
Size : 88 k
Source : ghc-strict-0.4.0.1-2.el9.src.rpm
Repository : epel
Summary : Strict data types and String IO
URL : https://hackage.haskell.org/package/strict
License : BSD
Description : This package provides strict versions of some standard Haskell data types
: (pairs, Maybe and Either). It also contains strict IO operations.
:
: It is common knowledge that lazy datastructures can lead to space-leaks.
: This problem is particularly prominent, when using lazy datastructures to store
: the state of a long-running application in memory. One common solution to this
: problem is to use 'seq' and its variants in every piece of code that updates
: your state. However a much easier solution is to use fully strict types to
: store such state values. By "fully strict types" we mean types for whose values
: it holds that, if they are in weak-head normal form, then they are also in
: normal form. Intuitively, this means that values of fully strict types cannot
: contain unevaluated thunks.
:
: To define a fully strict datatype, one typically uses the following recipe.
:
: 1. Make all fields of every constructor strict; i.e., add a bang to all fields.
:
: 2. Use only strict types for the fields of the constructors.
:
: The second requirement is problematic as it rules out the use of the standard
: Haskell 'Maybe', 'Either', and pair types. This library solves this problem by
: providing strict variants of these types and their corresponding standard
: support functions and type-class instances.
:
: Note that this library does currently not provide fully strict lists.
: They can be added if they are really required. However, in many cases one
: probably wants to use unboxed or strict boxed vectors from the 'vector' library
: () instead of strict lists.
: Moreover, instead of 'String's one probably wants to use strict 'Text' values
: from the 'text' library ().
:
: This library comes with batteries included; i.e., mirror functions and
: instances of the lazy versions in 'base'. It also includes instances for
: type-classes from the 'deepseq', 'binary', and 'hashable' packages.
Available Packages
Name : ghc-strict
Version : 0.4.0.1
Release : 2.el9
Architecture : x86_64
Size : 88 k
Source : ghc-strict-0.4.0.1-2.el9.src.rpm
Repository : epel
Summary : Strict data types and String IO
URL : https://hackage.haskell.org/package/strict
License : BSD
Description : This package provides strict versions of some standard Haskell data types
: (pairs, Maybe and Either). It also contains strict IO operations.
:
: It is common knowledge that lazy datastructures can lead to space-leaks.
: This problem is particularly prominent, when using lazy datastructures to store
: the state of a long-running application in memory. One common solution to this
: problem is to use 'seq' and its variants in every piece of code that updates
: your state. However a much easier solution is to use fully strict types to
: store such state values. By "fully strict types" we mean types for whose values
: it holds that, if they are in weak-head normal form, then they are also in
: normal form. Intuitively, this means that values of fully strict types cannot
: contain unevaluated thunks.
:
: To define a fully strict datatype, one typically uses the following recipe.
:
: 1. Make all fields of every constructor strict; i.e., add a bang to all fields.
:
: 2. Use only strict types for the fields of the constructors.
:
: The second requirement is problematic as it rules out the use of the standard
: Haskell 'Maybe', 'Either', and pair types. This library solves this problem by
: providing strict variants of these types and their corresponding standard
: support functions and type-class instances.
:
: Note that this library does currently not provide fully strict lists.
: They can be added if they are really required. However, in many cases one
: probably wants to use unboxed or strict boxed vectors from the 'vector' library
: (
: Moreover, instead of 'String's one probably wants to use strict 'Text' values
: from the 'text' library (
:
: This library comes with batteries included; i.e., mirror functions and
: instances of the lazy versions in 'base'. It also includes instances for
: type-classes from the 'deepseq', 'binary', and 'hashable' packages.