in reply to Question about recursively generated iterators

perlfan,
Have you seen Recursively-generated Iterators? I have written a number of tutorials on iterators but they do not deal with recursion.

Cheers - L~R

  • Comment on Re: Question about recursively generated iterators

Replies are listed 'Best First'.
Re^2: Question about recursively generated iterators
by perlfan (Parson) on Sep 21, 2007 at 17:19 UTC
    Thank you, yes I have. I prefaced this in the beginning of the question, but maybe I should have listed them explicitly. Your stuff actually got me started down this dark and scary road :)
      perlfan,
      Your stuff actually got me started down this dark and scary road :)

      I am truly flattered. I can show you examples of both DFS and BFS iterators but they are not ones that I converted from a recursive algorithm. I almost never think of problems in terms of recursion. Probably why Haskell still eludes me.

      Don't hesitate to /msg me with questions about something I have written, if you would like some examples, or if you would like me to write up a tutorial on something (assuming I am capable).

      Cheers - L~R

        I am not stuck on doing this recursively - a DFS iterator example or tutorial would be killer. I'll send you a msg, too. Thanks!