Summary
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.
Versions
v0.5.3 :: 0/0.5.3 :: gentoo
- Modified
- License
- BSD
- Keywords
- ~amd64 ~x86
- USE flags
- containers doc hashable hscolour profile unordered-containers
USE flags
General
- containers
- Enable the use of the `containers` package. Disabling this may be useful for accelerating builds in sandboxes for expert users.
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- hashable
- Enisable the use of the `hashable` package. Disabling this may be useful for accelerating builds in sandboxes for expert users. Note: `-hashable` implies `-unordered-containers`, as we are necessarily not able to supply those instances as well.
- hscolour
- Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
- profile
- Add support for software performance analysis (will likely vary from ebuild to ebuild)
- unordered-containers
- Enable the use of the `unordered-containers` package. Disabling this may be useful for accelerating builds in sandboxes for expert users.
Dependencies
dev-haskell / cabal : A framework for packaging Haskell software
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / hscolour : Colourise Haskell code
dev-haskell / nats : Natural numbers
dev-haskell / semigroups : Anything that associates
dev-haskell / unordered-containers : Efficient hashing-based container types
Runtime Dependencies
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / nats : Natural numbers
dev-haskell / semigroups : Anything that associates
dev-haskell / unordered-containers : Efficient hashing-based container types
Depending packages
dev-haskell / arithmoi : Efficient basic number-theoretic functions. Primes, powers, integer logarithms
dev-haskell / mod : Fast type-safe modular arithmetic
dev-haskell / quickcheck-classes : QuickCheck common typeclasses
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
dev-haskell/semirings: new package, a depend of arithmoi-0.11
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>