Programming Theory/Functional Programming
기본 예제 - Scala
YoonHyeonJoon
2020. 12. 5. 21:51
def checkforSimpleFunctional(p:Int, q:Int, test : (Int, Int) => Double) = test(p, q)
println(checkforSimpleFunctional(2, 3, (a:Int, b:Int) => a + b))