Sat, 27 Dec 2025 01:06:39 CST | login

Information for build ghc-strict-0.5.1-2.oc9

ID45264
Package Nameghc-strict
Version0.5.1
Release2.oc9
Epoch
DraftFalse
Sourcegit+https://gitee.com/opencloudos-stream/ghc-strict.git?.#3bcf5266deca623dda239244c9f5dedf792b0594
SummaryStrict data types and String IO
DescriptionThis 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 (<http://hackage.haskell.org/package/vector>) instead of strict lists. Moreover, instead of 'String's one probably wants to use strict 'Text' values from the 'text' library (<http://hackage.haskell.org/package/text>). 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.
Built byzeyouliu
State complete
Volume DEFAULT
StartedWed, 22 Oct 2025 10:35:30 CST
CompletedWed, 22 Oct 2025 10:44:20 CST
Taskbuild (dist-oc9-epol, /opencloudos-stream/ghc-strict.git:.:origin/master)
Extra{'source': {'original_url': 'git+https://gitee.com/opencloudos-stream/ghc-strict.git?.#origin/master'}}
Tags
dist-oc9-epol
dist-oc9-epol-compose
epol9-test-compose
RPMs
src
ghc-strict-0.5.1-2.oc9.src.rpm (info) (download)
aarch64
ghc-strict-0.5.1-2.oc9.aarch64.rpm (info) (download)
ghc-strict-devel-0.5.1-2.oc9.aarch64.rpm (info) (download)
loongarch64
ghc-strict-0.5.1-2.oc9.loongarch64.rpm (info) (download)
ghc-strict-devel-0.5.1-2.oc9.loongarch64.rpm (info) (download)
noarch
ghc-strict-doc-0.5.1-2.oc9.noarch.rpm (info) (download)
x86_64
ghc-strict-0.5.1-2.oc9.x86_64.rpm (info) (download)
ghc-strict-devel-0.5.1-2.oc9.x86_64.rpm (info) (download)
Logs
x86_64
mock_config.log
state.log
mock_output.log
hw_info.log
build.log
dnf.log
installed_pkgs.log
dnf.librepo.log
dnf.rpm.log
root.log
noarch_rpmdiff.json
aarch64
state.log
mock_config.log
build.log
mock_output.log
hw_info.log
dnf.librepo.log
dnf.log
root.log
installed_pkgs.log
dnf.rpm.log
noarch_rpmdiff.json
loongarch64
state.log
build.log
root.log
hw_info.log
installed_pkgs.log
mock_output.log
noarch_rpmdiff.json
Changelog * Tue Oct 21 2025 zeyouliu <zeyouliu@tencent.com> - 0.5.1-2 - [Type] other - [DESC] rebuild for ghc 9.8.4 * Sun Oct 12 2025 zeyouliu <zeyouliu@tencent.com> - 0.5.1-1 - [Type] other - [DESC] update to Version 0.5.1 * Fri Jun 06 2025 bbrucezhang <bbrucezhang@tencent.com> - 0.5-2 - Rebuilt for loongarch64 * Fri Apr 12 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.5-1 - initial build