static A eitherAOpt(Either e) { ret e != null && e.isA() ? e.a() : null; }