# 12.24.2021 - Scala / Partial Applied Function

Like currying, if a function takes some arguments and we invoke that function without all of the arguments, a new function will be created so we can call it with the remaining functions later on.

In Scala, it is called Partial Applied Function, and we can call it with the place holder like this:

def sum(a: Int, b: Int): Int = a + b

def main(args: Array[String]): Unit =

In JavaScript, it is equivalent to bind method:
const sum = (a, b) => a + b;