Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::HasUniqueMorphismFrom Concept Referenceexport

Asserts that there exists a unique (unreachable) morphism from Z = Zero to T. More...

Concept definition

template<typename Z, typename T>
concept dedekind::category::HasUniqueMorphismFrom = std::same_as<Z, Zero> && requires {
{ zero<T>() } -> IsArrow;
}
Asserts that there exists a unique (unreachable) morphism from Z = Zero to T.
Definition limit.cppm:211
A type that knows its own Domain (A) and Codomain (B), objects it maps between: called at the domain'...
Definition morphism.cppm:168
constexpr auto zero()
The zero morphism factory: produces the unique (unreachable) arrow ?: Zero → T.
Definition limit.cppm:185

Detailed Description

Asserts that there exists a unique (unreachable) morphism from Z = Zero to T.

Encodes the universal property of the Initial Object: for every species T, the factory zero<T>() produces the unique arrow Zero → T.