use delimcc in a new module, SequenceInvert, in order
to reverse the control flow (here with conversion to Gen)