Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-strict | Distribution: SUSE Linux Enterprise 15 |
Version: 0.5 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 150500.3.3.1 | Build date: Tue Jan 30 10:51:53 2024 |
Group: Unspecified | Build host: h01-armsrv2 |
Size: 680663 | Source RPM: ghc-strict-0.5-150500.3.3.1.src.rpm |
Packager: https://www.suse.com/ | |
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 Oct 04 2023 psimons@suse.com - Update strict to version 0.5 revision 1. [#] 0.5 - Depend on `bifunctor-classes-compat` instead of `bifunctors` See changelog note in `bifunctors-5.6`: https://hackage.haskell.org/package/bifunctors-5.6/changelog This is breaking change, but affects only GHC-8.0 and older users. * Sat Jan 01 2022 psimons@suse.com - Update strict to version 0.4.0.1 revision 4. Upstream has revised the Cabal build instructions on Hackage. * Tue Nov 16 2021 psimons@suse.com - Update strict to version 0.4.0.1 revision 3. Upstream has revised the Cabal build instructions on Hackage. * Mon Nov 01 2021 psimons@suse.com - Update strict to version 0.4.0.1 revision 2. Upstream has revised the Cabal build instructions on Hackage. * Wed Jul 28 2021 psimons@suse.com - Update strict to version 0.4.0.1 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Thu Dec 17 2020 mimi.vx@gmail.com - disable %{ix86} build * Sun Dec 06 2020 psimons@suse.com - Update strict to version 0.4.0.1. [#] 0.4.0.1 - Allow `bytestring-0.11` - Remove duplicate `semigroups` dependency * Tue Aug 18 2020 psimons@suse.com - Replace %setup -q with the more modern %autosetup macro. * Tue Aug 11 2020 psimons@suse.com - Add strict at version 0.4.
/usr/lib64/ghc-8.10.7/strict-0.5 /usr/lib64/ghc-8.10.7/strict-0.5/libHSstrict-0.5-4TfLPZovwAw2Wx0y4obQrM-ghc8.10.7.so /usr/share/licenses/ghc-strict /usr/share/licenses/ghc-strict/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 20:14:19 2024