RosettaCodeData/Task/Function-composition/ANT/function-composition.ant
2023-07-01 13:44:08 -04:00

4 lines
144 B
XML

/Apply g to exactly one argument
compose1: {f: x; g: y; {f[g[x]]}}
/Extra: apply to multiple arguments
compose: {f: x; g: y; {f[g apply args]}}