I’m looking for a concise but interesting example of corotuines to
illustrate symmetrical fibers for the 1.9 edition of the PickAxe.
Way back in the dim past, I remember a logic puzzle to do with laying
down a path of colored tiles such that there were no repeating
subsequences. I remember coding a solution using coroutines in Simula.
But I can’t now find a formulation of the problem. Does anyone know
it? Or can anyone suggest an alternative illustration of coroutines
that will fit in about 20-30 lines.?