Path to this page:
./
devel/hs-strict,
Strict data types and String IO
Branch: CURRENT,
Version: 0.5nb2,
Package name: hs-strict-0.5nb2,
Maintainer: phoThis 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.
Master sites:
Filesize: 12.27 KB
Version history: (Expand)
- (2024-05-09) Updated to version: hs-strict-0.5nb2
- (2023-11-02) Updated to version: hs-strict-0.5nb1
- (2023-10-28) Updated to version: hs-strict-0.5
- (2023-10-09) Updated to version: hs-strict-0.4.0.1nb6
- (2023-02-09) Updated to version: hs-strict-0.4.0.1nb5
- (2022-02-26) Updated to version: hs-strict-0.4.0.1nb4
CVS history: (Expand)