|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
A type-erased Morphism A -> B between Species. More...
Public Types | |
| using | Domain = A |
| using | Codomain = B |
Public Member Functions | |
| constexpr B | operator() (const A &x) const |
| The Morphic Application (The Arrow's Action). | |
Public Attributes | |
| std::function< B(const A &)> | apply |
A type-erased Morphism A -> B between Species.
This wrapper reifies a functional rule into a formal Categorical Arrow, preventing C-style pointer decay.
| A | The Domain Species (The Source). |
| B | The Codomain Species (The Target). |