This is similar to wildcards, but I think it will be useful too. If maintainers says ok for that I will be happy to contribute an implementation.
Comments: No response
Comments: No response