Hello all. Version 12.1 has several very useful functions. SubsetCases seems to be one of them. However, I have a doubt regarding its use. It comes from an example from the documentation:
SubsetCases[{1, 2, 3, a, a, b, c}, {a, _Integer}]
This returns {{a,1},{a,2}}. Why not {a,3}? Indeed it has an overlap with the previous two lists, but the chosen output also has the same overlap (that is, the symbol a}
If indeed overlaps are turned to true {a,3} and much more is included.
But if the overlaps are omitted, why does the code return {a,2} and not {a,3}?
Any clarification is welcomed.
Francisco