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

Asserts that there exists a unique morphism from T to U = One. More...

Concept definition

template<typename T, typename U>
concept dedekind::category::HasUniqueMorphismTo = std::same_as<U, One> && requires {
}
Asserts that there exists a unique morphism from T to U = One.
Definition limit.cppm:199
A morphism that maps into the Terminal Object (One).
Definition limit.cppm:106
constexpr auto bang()
The terminal map factory: produces the unique arrow !: T → One.
Definition limit.cppm:116

Detailed Description

Asserts that there exists a unique morphism from T to U = One.

Encodes the universal property of the Terminal Object: for every species T, the factory bang<T>() produces the unique arrow T → One.