HeadComposeHeadCompose[a, b, c, d] gives a[b][c][d]. Please visit the official Wolfram Language Reference for more details.