import de.dhbwstuttgart.typeinference.Menge; class Matrix extends Menge> { Fun1>, Matrix> op = (Matrix m) -> (f) -> f.apply(this, m); }