RosettaCodeData/Task/Higher-order-functions/Scala/higher-order-functions-1.scala
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

1 line
84 B
Scala

def functionWithAFunctionArgument(x : int, y : int, f : (int, int) => int) = f(x,y)