# Folow-up on combining pure functions [duplicate]

This is a follow-up to this question. Consider:

f = #^2&
g = #^3&

Compose[f, g]
(#1^3 &)^2


Am I the only one to think this is a bug?

• Note that Compose[f, g] does return f[g], and that Compose[] has been obsolete for quite a while... – J. M. is in limbo Apr 7 '17 at 3:28
• Composition[f, g][x] evaluates to x^6 – Bob Hanlon Apr 7 '17 at 6:43
• While that question is different, the answer explains the difference. We could close it as a duplicate then instead of as a simple mistake. Is there a name for #1@#2&? Let me know. – Kuba Apr 7 '17 at 20:04
• @Kuba Yes, that is very relevant. I have no strong opinion on duplicate vs not, so leave it to you. – Igor Rivin Apr 7 '17 at 20:07
• @IgorRivin thanks. Duplicates are never deleted while simple mistakes can be, unless they have a positive score. – Kuba Apr 7 '17 at 20:11