// "Replace with lambda" "true-preview" class Test { interface Eff { B f(A a); } interface InOut { A run() throws IOException; default InOut bind(final Eff> f) { return () -> f.f(InOut.this.run()).run(); } } }