From: Pit Capitain Date: 2002-11-15T04:17:06+09:00 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. Bye, Pit