Yesterday's article about Monadic Test Data Generators inspired me to think again about delimited continuations, perhaps even to understand them. I think I managed with the help of this helpful stack-overflow question. Concerning the actual use case at hand, I would say that I was partly successful.