name:                 strict
version:              0.5.1
visibility:           public
id:                   strict-0.5.1-1mB1yRAtJfYEfaxRHR0qto
key:                  strict-0.5.1-1mB1yRAtJfYEfaxRHR0qto
license:              BSD-3-Clause
copyright:
    (c) 2006-2008 by Roman Leshchinskiy
    (c) 2013-2014 by Simon Meier

maintainer:
    Don Stewart <dons@galois.com>,
    Bas van Dijk <v.dijk.bas@gmail.com>,
    Oleg Grenrus <oleg.grenrus@iki.fi>,
    Simon Meier <iridcode@gmail.com>,
    Ximin Luo <infinity0@pwned.gg>

author:
    Roman Leshchinskiy <rl@cse.unsw.edu.au>
    Simon Meier <iridcode@gmail.com>

homepage:             https://github.com/haskell-strict/strict
synopsis:             Strict data types and String IO.
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.

category:             Data, System
abi:                  7e49bdcd3b89e49a23f6a489bd0775b6
exposed:              True
exposed-modules:
    Data.Strict Data.Strict.Classes Data.Strict.Either
    Data.Strict.Maybe Data.Strict.These Data.Strict.Tuple
    System.IO.Strict

import-dirs:
    /usr/pkg/lib/x86_64-netbsd-ghc-9.10.1/strict-0.5.1-1mB1yRAtJfYEfaxRHR0qto

library-dirs:
    /usr/pkg/lib/x86_64-netbsd-ghc-9.10.1/strict-0.5.1-1mB1yRAtJfYEfaxRHR0qto

library-dirs-static:
    /usr/pkg/lib/x86_64-netbsd-ghc-9.10.1/strict-0.5.1-1mB1yRAtJfYEfaxRHR0qto

dynamic-library-dirs: /usr/pkg/lib/x86_64-netbsd-ghc-9.10.1
data-dir:             /usr/pkg/share/x86_64-netbsd-ghc-9.10.1/strict-0.5.1
hs-libraries:         HSstrict-0.5.1-1mB1yRAtJfYEfaxRHR0qto
depends:
    assoc-1.1.1-Fpg5xDjm4LzJzOy2WMBWgK base-4.20.0.0-inplace
    binary-0.8.9.2-inplace bytestring-0.12.1.0-inplace
    deepseq-1.5.0.0-inplace ghc-prim-0.11.0-inplace
    hashable-1.5.0.0-93vVlDWTvOTF1kJlBpPOXB text-2.1.1-inplace
    these-1.2.1-IGEtUUvvrj4G6MQqHx4fNb transformers-0.6.1.1-inplace

haddock-interfaces:
    /usr/pkg/share/doc/x86_64-netbsd-ghc-9.10.1/strict-0.5.1/html/strict.haddock

haddock-html:
    /usr/pkg/share/doc/x86_64-netbsd-ghc-9.10.1/strict-0.5.1/html
