RosettaCodeData/Task/Higher-order-functions/Scala/higher-order-functions-2.scala
2023-07-01 13:44:08 -04:00

1 line
68 B
Scala

functionWithAFunctionArgument(3, 5, {(x, y) => x + y}) // returns 8