Function alli

fn alli<A: Copy + Owned>(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 + Owned>(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 + Owned, B: Copy +
       Owned>(xs: &[A], fn_factory: &fn() -> ~fn(&A) -> B) -> ~[B]

A parallel version of map.

Function mapi

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

A parallel version of mapi.