套件:libghc-semirings-dev(0.6-3 以及其他的) [debports]
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` 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.
This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
其他與 libghc-semirings-dev 有關的套件
|
|
|
|
-
- dep: libc6.1 (>= 2.37)
- GNU C 函式庫:共用函式庫
同時作為一個虛擬套件由這些套件填實: libc6.1-udeb
-
- dep: libghc-base-compat-batteries-dev-0.12.3-cb271
- 本虛擬套件由這些套件填實: libghc-base-compat-batteries-dev
-
- dep: libghc-base-dev-4.17.2.0-e9124
- 本虛擬套件由這些套件填實: ghc
-
- dep: libghc-containers-dev-0.6.7-a1650
- 本虛擬套件由這些套件填實: ghc
-
- dep: libghc-hashable-dev-1.4.3.0-f3706
- 本虛擬套件由這些套件填實: libghc-hashable-dev
-
- dep: libghc-unordered-containers-dev-0.2.19.1-8fe95
- 本虛擬套件由這些套件填實: libghc-unordered-containers-dev
-
- dep: libgmp10 (>= 2:6.3.0+dfsg)
- Multiprecision arithmetic library