Function alli

fn alli<A: Copy + Send>(xs: &[A], fn_factory: &fn() -> ~fn(uint, &A) -> bool)
 -> bool

Returns true if the function holds for all elements in the vector.

Function any

fn any<A: Copy + Send>(xs: &[A], fn_factory: &fn() -> ~fn(&A) -> bool) -> bool

Returns true if the function holds for any elements in the vector.

Function map

fn map<A: Copy + Send, B: Copy +
       Send>(xs: &[A], fn_factory: &fn() -> ~fn(&A) -> B) -> ~[B]

A parallel version of map.

Function mapi

fn mapi<A: Copy + Send, B: Copy +
        Send>(xs: &[A], fn_factory: &fn() -> ~fn(uint, &A) -> B) -> ~[B]

A parallel version of mapi.