add curry & uncurry func.