From: "Hal E. Fulton" Date: 2002-11-15T11:20:46+09:00 Subject: Re: understanding continuations ----- Original Message ----- From: "Pit Capitain" To: "ruby-talk ML" Sent: Thursday, November 14, 2002 1:17 PM Subject: Re: understanding continuations > On 15 Nov 2002 at 3:20, ahoward wrote: > > > rubyists- > > > > i am trying to grok continuations, and only barely understand them. > > > > my goal is to implement an Enumerable#next method which uses > > Enumerable#each_with_index and callcc. i have one or two ways which > > work, but recurse infinitely.... my main problem is how to know when > > each_with_index is on the last item! however, i really don't > > understand what i'm doing! if anyone can provide more insight into > > continuations than the pickaxe, i'd appreciate it. > > I was once like you are now, and I know that it's not easy, > To be calm when you've found something going on. > But take your time, think a lot, > Why, think of everything you've got. > For you will still be here tomorrow, but your dreams may not. > > Son > How can I try to explain, when I do he turns away again. > It's always been the same, same old story. > From the moment I could (ruby-)talk(20270) I was ordered to listen. > Now there's a way and I know that I have to go away. > I know I have to go. I nominate this for most poetic post of the month. I don't know the song, though it sounds like Harry Chapin to me. (self.date!) Hal