math/hs-free - The NetBSD Packages Collection

Monads for free

Free monads are useful for many tree-like structures and domain specific
languages.

If f is a Functor then the free Monad on f is the type of trees whose nodes
are labeled with the constructors of f. The word "free" is used in the
sense of "unrestricted" rather than "zero-cost": Free f makes no
constraining assumptions beyond those given by f and the definition of
Monad. As used here it is a standard term from the mathematical theory of
adjoint functors.

Cofree comonads are dual to free monads. They provide convenient ways to
talk about branching streams and rose-trees, and can be used to annotate
syntax trees. The cofree comonad can be seen as a stream parameterized by a
Functor that controls its branching factor.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

math/hs-comonad math/hs-distributive devel/hs-indexed-traversable devel/hs-th-abstraction math/hs-semigroupoids devel/hs-transformers-base math/hs-profunctors lang/ghc94 math/hs-comonad math/hs-distributive devel/hs-indexed-traversable devel/hs-th-abstraction math/hs-semigroupoids devel/hs-transformers-base math/hs-profunctors lang/ghc94

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64hs-free-5.1.10nb1.tgz
NetBSD 10.0x86_64hs-free-5.1.7nb1.tgz
NetBSD 10.0x86_64hs-free-5.1.7nb1.tgz
NetBSD 8.0x86_64hs-free-5.1.7nb1.tgz
NetBSD 8.0x86_64hs-free-5.1.7nb1.tgz
NetBSD 8.0x86_64hs-free-5.1.10nb1.tgz
NetBSD 9.0aarch64hs-free-5.1.10nb1.tgz
NetBSD 9.0x86_64hs-free-5.1.7nb1.tgz
NetBSD 9.0x86_64hs-free-5.1.7nb1.tgz
NetBSD 9.0x86_64hs-free-5.1.10nb1.tgz
NetBSD 9.0x86_64hs-free-5.1.7nb1.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.