def curry2(f):
  """Transform the two-argument functions such as 'add' to higher-order funcitons such as 'make_adder'
     >>> from operator import add
     >>> add(2, 3)
     5
     >>> m = curry2(add)
     >>> add_three = m(3)
     >>> add_three(2)
     5
  """
  def g(x):
    def h(y):
      return f(x, y)
    return  h
  return g