[−][src]Trait rust_fp_categories::foldable::Foldable
Required methods
pub fn fold_left<F>(&self, b: A, f: F) -> A where
F: Fn(A, &Self::C) -> A, [src]
F: Fn(A, &Self::C) -> A,
pub fn fold_right<F>(&self, b: A, f: F) -> A where
F: Fn(&Self::C, A) -> A, [src]
F: Fn(&Self::C, A) -> A,
Implementations on Foreign Types
impl<A, B> Foldable<B> for Vec<A>[src]
pub fn fold_left<F>(&self, b: B, f: F) -> B where
F: Fn(B, &Self::C) -> B, [src]
F: Fn(B, &Self::C) -> B,
pub fn fold_right<F>(&self, b: B, f: F) -> B where
F: Fn(&Self::C, B) -> B, [src]
F: Fn(&Self::C, B) -> B,