I am new to Scala and I just started learning it and now trying some exercises. This one in particular I have a trouble understanding.
I understand up to the (f: (A, B) => C) part, but the rest I dont quite get it. Can someone please explain what's happening after the anonymous function part?
Thanks!
This is the function:
def curry[A, B, C](f: (A, B) => C): A => (B => C) = a => b => f(a, b)