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