Depth-first searches are easy to code by simple recursion.
Breadth-first searches are good for finding short solutions and not getting caught in infinite recursions. Are there any ready-made tools in Racket for turning depth-first search code into breadth-first by strategic use of continuations? That is, at strategic points in the depth-first search you spawn continuation instead of going deeper and save that continuation into a stable somewhere so as to ride it again later? -- hendrik -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/20190912002933.4dcep2dqcsjgiib2%40topoi.pooq.com.