static Either either(A a, int index) { ret index == 1 || index == 2 ? new Either(index, a) : null; }