devel/hs-strict - The NetBSD Packages Collection

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.

Build dependencies

pkgtools/cwrappers devel/pkgconf

Runtime dependencies

lang/ghc90 devel/hs-assoc devel/hs-hashable devel/hs-these devel/hs-assoc devel/hs-hashable devel/hs-these

Binary packages

OSArchitectureVersion
NetBSD 8.0x86_64hs-strict-0.4.0.1nb1.tgz
NetBSD 9.0x86_64hs-strict-0.4.0.1nb1.tgz
NetBSD 9.0x86_64hs-strict-0.4.0.1nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.