RosettaCodeData/Task/First-class-functions/E/first-class-functions-2.e

4 lines
50 B
Plaintext

def compose(f, g) {
return fn x { f(g(x)) }
}