Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In mathematics, a
near-semiring (also seminearring) is an algebraic structure more general
to near-ring and semiring. Near-semirings arise naturally from functions
on semigroups. A near-semiring is a nonempty set S with two binary
operations `+' and `·', and a constant 0 such that (S; +; 0) is a
monoid, (S; ·) is a semigroup, these structures are related by one
(right or left) distributive law, and accordingly the 0 is one (right or
left, respectively) side absorptive element.