Skip to main content

Algebra

Type Alias Algebra 

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

F<A> -> A — an F-algebra, used in catamorphism.

Aliased Type§

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