position
position(v,f)
-- returns the index of the first element of v satisfying the condition f, or null if there is none.