Trait Bind
rust_fp_categories::bind
pub trait Bind<A>: HKT<A> { pub fn bind<F>(self, f: F) -> Self::T where F: Fn(&Self::C) -> Self::T; }
pub fn bind<F>(self, f: F) -> Self::T where F: Fn(&Self::C) -> Self::T,
impl<A, B> Bind<B> for Rc<A>
pub fn bind<F>(self, f: F) -> Self::T where F: FnOnce(&Self::C) -> Self::T,
impl<A, B> Bind<B> for Box<A>
impl<A, B> Bind<B> for Option<A>
pub fn bind<F>(self, f: F) -> Option<B> where F: FnOnce(&A) -> Option<B>,
impl<A, B, E: Clone> Bind<B> for Result<A, E>
pub fn bind<F>(self, f: F) -> Result<B, E> where F: FnOnce(&Self::C) -> Result<B, E>,
impl<A, B> Bind<B> for Vec<A>
pub fn bind<F>(self, f: F) -> Vec<B> where F: Fn(&Self::C) -> Vec<B>,