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