Text this: Generalisations of the theorem of Peter and Weyl