static int indexOfStringWithSquareBracketStuffEq(LS l, S s) { for i over l: if (eq(squareBracketStuff(l.get(i)), s)) ret i; ret -1; }