|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
T × T → T (The Base Total Species). More...
T × T → T (The Base Total Species).
A Magma is the most primitive algebraic structure: a set T together with a binary operation Op that is closed (the result stays in T) and total (defined for every pair of inputs). No further axioms are required.
In the Dedekind taxonomy, unsigned int with wrapping addition is a Magma, while int with standard addition is not (signed overflow is undefined behaviour and therefore a "hazard").