|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
The anamorphism of a coalgebra as an arrow from the seeds: x >> unfold<S>(c) is unfold(x, c).
More...

Public Types | |
| using | Domain = S |
| using | Codomain = unfold_view<S, Coalg> |
Public Member Functions | |
| constexpr Codomain | operator() (const S &seed) const |
| constexpr bool | operator== (const Unfold &) const =default |
Public Attributes | |
| Coalg | coalg |
The anamorphism of a coalgebra as an arrow from the seeds: x >> unfold<S>(c) is unfold(x, c).
| S | the state. |
| Coalg | the coalgebra. |
|
inlineconstexpr |
| seed | the first state. |