Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Question about recursively generated iterators

by Limbic~Region (Chancellor)
on Sep 21, 2007 at 17:00 UTC ( [id://640399]=note: print w/replies, xml ) Need Help??


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 (Vicar) 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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://640399]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-20 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found