Sun, 08 Nov 2026 13:14:27 UTC Log in
Strict data types and String IO 114.73 KB built 2026-10-14 03:10:38 GMT

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 (<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.

Dependencies

34 total
Requires31
  • libHSarray-0.5.8.0-inplace-ghc9.10.3.so()(64bit)
  • libHSassoc-1.1.1-30BCdn01wuCLUYQedFJHQR-ghc9.10.3.so()(64bit)
  • libHSbase-4.20.2.0-inplace-ghc9.10.3.so()(64bit)
  • libHSbinary-0.8.9.3-inplace-ghc9.10.3.so()(64bit)
  • libHSbytestring-0.12.2.0-inplace-ghc9.10.3.so()(64bit)
  • libHScontainers-0.7-inplace-ghc9.10.3.so()(64bit)
  • libHSdeepseq-1.5.0.0-inplace-ghc9.10.3.so()(64bit)
  • libHSexceptions-0.10.9-inplace-ghc9.10.3.so()(64bit)
  • libHSfilepath-1.5.4.0-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-bignum-1.3-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-boot-th-9.10.3-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-internal-9.1003.0-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-prim-0.12.0-inplace-ghc9.10.3.so()(64bit)
  • libHShashable-1.5.1.0-IOVq8g4B58423QXYpDMyNv-ghc9.10.3.so()(64bit)
  • libHSmtl-2.3.1-inplace-ghc9.10.3.so()(64bit)
  • libHSos-string-2.0.7-inplace-ghc9.10.3.so()(64bit)
  • libHSpretty-1.1.3.6-inplace-ghc9.10.3.so()(64bit)
  • libHSstm-2.5.3.1-inplace-ghc9.10.3.so()(64bit)
  • libHStemplate-haskell-2.22.0.0-inplace-ghc9.10.3.so()(64bit)
  • libHStext-2.1.3-inplace-ghc9.10.3.so()(64bit)
  • libHSthese-1.2.1-7mljAF64etU4CVCoqkqsT1-ghc9.10.3.so()(64bit)
  • libHStransformers-0.6.1.1-inplace-ghc9.10.3.so()(64bit)
  • libc.so.6()(64bit)
  • libc.so.6(GLIBC_2.27)(64bit)
  • libgmp.so.10()(64bit)
  • libm.so.6()(64bit)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
  • rtld(GNU_HASH)
Provides3
  • ghc-strict = 0.5.1-6.fc45
  • ghc-strict(riscv-64) = 0.5.1-6.fc45
  • libHSstrict-0.5.1-IdN0ln3lhLKsZStBB6i9f-ghc9.10.3.so()(64bit)
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

3
Files 1–3 of 3

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-52931-913 2026-10-29 19:23:17 expired
f45-build-52249-908 2026-10-29 17:44:30 expired
f45-build-14458-459 2026-10-14 14:00:06 expired
f45-build-14102-456 2026-10-14 13:03:30 expired
f45-build-13534-451 2026-10-14 11:43:17 expired
f45-build-11044-426 2026-10-14 03:46:18 expired
f45-build-10992-425 2026-10-14 03:39:05 expired
f45-build-10937-425 2026-10-14 03:29:42 expired
f45-build-10916-425 2026-10-14 03:25:38 expired
f45-build-10908-425 2026-10-14 03:25:32 expired
Buildroots 1–10 of 10