math/hs-semirings - The NetBSD Packages Collection

Two monoids as one, in holy haskimony

Haskellers are usually familiar with monoids and semigroups. A monoid has
an appending operation <> (or mappend), and an identity element, mempty. A
semigroup has an appending <> operation, but does not require a mempty

A Semiring has two appending operations, plus and times, and two respective
identity elements, zero and one.

More formally, a Semiring R is a set equipped with two binary relations +
and *, such that:
- (R,+) is a commutative monoid with identity element 0,
- (R,*) is a monoid with identity element 1,
- (*) left and right distributes over addition, and multiplication by '0'
  annihilates R.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/hs-base-compat-batteries devel/hs-hashable devel/hs-unordered-containers lang/ghc98 devel/hs-base-compat-batteries devel/hs-hashable devel/hs-unordered-containers lang/ghc98

Binary packages

NetBSD 10.0aarch64hs-semirings-0.6nb4.tgz
NetBSD 10.0aarch64hs-semirings-0.6nb2.tgz
NetBSD 10.0aarch64hs-semirings-0.6nb4.tgz
NetBSD 10.0x86_64hs-semirings-0.6nb4.tgz
NetBSD 10.0x86_64hs-semirings-0.6nb4.tgz
NetBSD 9.0aarch64hs-semirings-0.6nb4.tgz
NetBSD 9.0aarch64hs-semirings-0.6nb2.tgz
NetBSD 9.0aarch64hs-semirings-0.6nb4.tgz
NetBSD 9.0x86_64hs-semirings-0.6nb4.tgz
NetBSD 9.0x86_64hs-semirings-0.6nb4.tgz
NetBSD 9.3x86_64hs-semirings-0.6nb4.tgz
NetBSD 9.3x86_64hs-semirings-0.6nb5.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


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.