static void setVar(IVar v, A value) { if (v != null) v.set(value); } static IVF1 setVar(IVar v) { ret a -> { if (v != null) v.set(a); }; }