Date: Jun 23, 2013 10:50 PM
Author: roby.nowak@gmail.com
Subject: Position[] bug or feature ?

Dear Group

When trying to evaluate the following code the expected result is returned.
But strangly there is an error message generated.
The code should (and does) return the positions of all sublists with an even element at the second position.



Position[{{1, 2}, {2, 3}, {1, 4}}, _?(EvenQ[#[[2]]] &), {1}]

Part::partd: Part specification List[[2]] is longer than depth of object. >>

{{1}, {3}}



Any hints if this a bug or a feature ?

Regards Robert