I want to define a function that takes a list of pairs as input and groups cycles, e.g.
I'm wondering if there is an obvious function for doing this which can simply be
/@ to the list. As far as I can tell,
Cycles does nothing to a list of this type. Is the only way to look at individual characters and manually group items?