5 lines
90 B
Text
5 lines
90 B
Text
func apply(fun, x) { y => fun(x, y) }
|
|
|
|
func sum(x, y) { x + y }
|
|
|
|
let sum2 = apply(sum, 2)
|