In book ‘Functional Programming In Scala’, following function is to be implemented :

def partial1[A,B,C](a: A, f: (A,B) => C): B => C

My implementation is as follows

def partial1[A,B,C](a: A, f: (A,B) => C): B => C = {

val g = (b: B) => f(a, b)

g

}

Book states that the function is called partial as it is being applied to some but not all of its required

arguments.

I am not able to relate this statement to the implementation above.

Is implementation wrong?