static A assertNempty(A o) { if (empty(o)) fail("empty: " + structure(o)); ret o; }