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

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

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64hs-free-5.2nb2.tgz
NetBSD 10.0aarch64hs-free-5.2nb2.tgz
NetBSD 10.0x86_64hs-free-5.2nb2.tgz
NetBSD 10.0x86_64hs-free-5.2nb2.tgz
NetBSD 9.0aarch64hs-free-5.2nb2.tgz
NetBSD 9.0aarch64hs-free-5.2nb2.tgz
NetBSD 9.0x86_64hs-free-5.2nb2.tgz
NetBSD 9.0x86_64hs-free-5.2nb2.tgz
NetBSD 9.3x86_64hs-free-5.2nb2.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.