Subject: CVS commit: pkgsrc/math/hs-semirings
From: Masatake Daimon
Date: 2022-02-16 11:02:14
Message id: 20220216100214.9E70FFB24@cvs.NetBSD.org

Log Message:
math/hs-semirings: import hs-semirings-0.6

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
element.

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.

Files:
RevisionActionfile
1.1addpkgsrc/math/hs-semirings/DESCR
1.1addpkgsrc/math/hs-semirings/Makefile
1.1addpkgsrc/math/hs-semirings/PLIST
1.1addpkgsrc/math/hs-semirings/buildlink3.mk
1.1addpkgsrc/math/hs-semirings/distinfo
1.1addpkgsrc/math/hs-semirings/patches/patch-semirings.cabal