2 fn bind<B, F>(&self, f: F) where F: FnMut(A) -> Vec<B>;
5 impl<A> VecMonad<A> for Vec<A> {
6 fn bind<B, F>(&self, mut f: F) where F: FnMut(A) -> Vec<B> {
8 for elt in self { r = r + f(*elt); }
13 ["hi"].bind(|x| [x] );
14 //~^ ERROR no method named `bind` found