Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-strict | Distribution: Fedora Project |
Version: 0.5 | Vendor: Fedora Project |
Release: 3.fc40 | Build date: Wed Jan 24 15:43:24 2024 |
Group: Unspecified | Build host: buildvm-s390x-12.s390.fedoraproject.org |
Size: 1055781 | Source RPM: ghc-strict-0.5-3.fc40.src.rpm |
Packager: Fedora Project | |
Url: https://hackage.haskell.org/package/strict | |
Summary: Strict data types and String IO |
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.
BSD-3-Clause
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jul 23 2023 Jens Petersen <petersen@redhat.com> - 0.5-1 - https://hackage.haskell.org/package/strict-0.5/changelog * Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.4.0.1-5 - refresh to cabal-rpm-2.1.0 with SPDX migration * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.4.0.1-3 - rebuild
/usr/lib/.build-id /usr/lib/.build-id/6d /usr/lib/.build-id/6d/7fae7a4069b46891e065e91034b30d37992b75 /usr/lib64/ghc-9.4.5/lib/libHSstrict-0.5-BMGWBclA5sg312fCUlbuTw-ghc9.4.5.so /usr/share/licenses/ghc-strict /usr/share/licenses/ghc-strict/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jul 10 00:08:09 2024