cat: generalised prefixes/suffixes to any transform