alli
- Returns true if the function holds for all elements in the vector.any
- Returns true if the function holds for any elements in the vector.map
- A parallel version of map.mapi
- A parallel version of mapi.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.
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.
map
fn map<A: Copy + Send, B: Copy +
Send>(xs: &[A], fn_factory: &fn() -> ~fn(&A) -> B) -> ~[B]
A parallel version of map.
mapi
fn mapi<A: Copy + Send, B: Copy +
Send>(xs: &[A], fn_factory: &fn() -> ~fn(uint, &A) -> B) -> ~[B]
A parallel version of mapi.