I want to obtain the argument of a TensorProduct as a list of elements by applying another function.
For example, I wish to write a function h which, when applied to a tensor product, produces the arguments as follows
However, this doesn't work. The output is simply
Strangely it works for heads different from TensorProduct. For example
I can get the right output by doing for example
but why can I not just extract the argument in the previous way?