RosettaCodeData/Task/Function-composition/ANT/function-composition.ant

5 lines
144 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
/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]}}