partialy implement curly bracket(infix formula)