Tricky parametric type dispatch

No, you cannot do this in general. This is why similar exists for arrays and you should probably use a similar approach. X-ref:

2 Likes