Open SeptimusZhu opened 5 years ago
https://septimuszhu.github.io/2017/04/06/functional-programming-in-scala-tips/
update everyday(maybe weekly) partial application 123456789def compose[A,B,C](f: B => C, g: A => B): A => C = { (a: A) => f(g(a))}def curry[A,B,C](f: (A, B) => C): A =&
https://septimuszhu.github.io/2017/04/06/functional-programming-in-scala-tips/
update everyday(maybe weekly) partial application 123456789def compose[A,B,C](f: B => C, g: A => B): A => C = { (a: A) => f(g(a))}def curry[A,B,C](f: (A, B) => C): A =&