def apply(self, f):
        self.left = f(self.left)
        self.right = f(self.right)
        return self
Apply a function to your children
dataset/ETHPy150Open uwescience/raco/raco/algebra.py/BinaryOperator.apply