Compose a monadic function

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

  1. calling the function 

g: f[10]; /Not what we want

  1. using globals

global: 10;g:{ 10?global};

  1. Using a dummy argument

f: {[x] 10?x};g: {[x;y;z] @[x;y] }[f;10;];g[dummy]`

Here’s one approach - generate the function from a string of q.

q)g:{value “{10?”,(string x),“}”}

q)f:g[10]

q)f

5 4 2 5 8 7 9 9 7 7

q)f:{10?x}

q)g:('[f;{100}])

q)g

12 10 1 90 73 90 43 90 84 63

or more simply

q)g:{f 10}

not entirely sure what you want.