Skip to main content

Coalgebra

Type Alias Coalgebra 

Source
pub type Coalgebra<F, A> = Box<dyn Fn(A) -> <F as HKT>::Of<A>>;
Expand description

A -> F<A> — an F-coalgebra, used in anamorphism.

Aliased Type§

pub struct Coalgebra<F, A>(/* private fields */);