|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
A Morphism whose domain species admits no undefined (hazard) values. More...
A Morphism whose domain species admits no undefined (hazard) values.
∀x ∈ Domain: f(x) is valid (not a hazard).
A morphism is "Total" when it is defined for every element of its domain. This corresponds to functions that cannot produce undefined behaviour (e.g. overflow, division by zero). The criterion is structural: the domain species must use bool as its logic type, which is only satisfied by species whose arithmetic wraps predictably (e.g. unsigned int, bool).