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

A kernel on the non-empty prefixes of a text: an arrow out of them, a coKleisli arrow of the history comonad, whose answer at a position may read all that came before it and nothing after. More...

Concept definition

template<typename K, typename T>
concept dedekind::category::IsPrefixKernel = IsArrow<K> && std::same_as<Dom<K>, std::span<const T>>
A type that knows its own Domain (A) and Codomain (B), objects it maps between: called at the domain'...
Definition morphism.cppm:168
A kernel on the non-empty prefixes of a text: an arrow out of them, a coKleisli arrow of the history ...
Definition comprehension.cppm:274

Detailed Description

A kernel on the non-empty prefixes of a text: an arrow out of them, a coKleisli arrow of the history comonad, whose answer at a position may read all that came before it and nothing after.

Template Parameters
Kthe kernel.
Tthe letters.