Object specimen = pair;
if (!isList(specimen)) { throw(...); }
Integer len = E.toInteger(E.call(specimen, "size"));
if (len.intValue() != 2) { throw(...); }
final Object first = E.call(specimen, "get", 0);
# we hope to optimize this out this last useless call
E.call(specimen, "get", 1);
x
Unless stated otherwise, all text on this page which is either unattributed
or by Mark S. Miller is hereby placed in the public domain.