> var result: Index? = nil
> for i in indices {
> if predicate(self[i]) { result = i }
> }
> return result
That is better! I didn't think to just give up on testing the minimum number of elements.
--
Brent Royal-Gordon
Architechies