Say I have a simple function:
f: {[x] 10?x};
Is there a way to compose this function, and get a new function that takes no arguments? I can’t see a way to do this without either
- calling the function
g: f[10]; /Not what we want
- using globals
global: 10;g:{ 10?global};
- Using a dummy argument
f: {[x] 10?x};g: {[x;y;z] @[x;y] }[f;10;];g[
dummy]`