Find both visits to the market
List.indexOf and lastIndexOf
list.index and reverse search
Array#index and Array#rindex
Seq.indexOf and lastIndexOf