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

Structural isomorphism for "Maybe-like" species. More...

Concept definition

template<typename R, typename L typename GetLogic<R>::type>
concept dedekind::category::IsPotential = requires(R r) {
typename R::value_type;
{ *r } -> std::convertible_to<const typename R::value_type&>;
{ presence_of(r) } -> std::convertible_to<typename L::Ω>;
}
Structural isomorphism for "Maybe-like" species.
Definition partial.cppm:139

Detailed Description

Structural isomorphism for "Maybe-like" species.

Any type that provides a value and a way to check if that value is 'legitimate' (Total) satisfies this concept.