[racket] coding with continuations
On Sun, Oct 26, 2014 at 10:24 PM, Hendrik Boom <hendrik at topoi.pooq.com> wrote:
> What I don't understand is what kinds of coding patterns are effective
> when using them to do really hairy search problems.
Continuation passing style (whether with genuine continuations, or
using some sort of structure that captures "just enough" to backtrack)
is useful in search problems where you want to be able to *backtrack*.
As to coding patterns that make this easier, I'll think you'll need to
specify a bit more of what you're looking for. Often times it
actually means having your procedures take an extra argument or two
(continue and restart).
//JT
--
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/