Skip to content

Construct - Constructs an expression from its head and arguments

Apply a function to an argument:

$ wo 'Construct[f, x]'
f[x]

Apply a function to several arguments:

$ wo 'Construct[f, x, y, z]'
f[x, y, z]

Build a curried function:

$ wo 'Fold[Construct, f, {a, b, c}]'
f[a][b][c]