From: Mark Wilson Date: 2003-08-07T08:27:48+09:00 Subject: Re: Why does Ruby have callcc? On Wednesday, August 6, 2003, at 06:27 PM, Ben Giddings wrote: > [snip] > I found a bunch of websites all talking about continuations: > > http://www.ai.mit.edu/~gregs/ll1-discuss-archive-html/ > threads.html#01372 > http://www.ps.uni-sb.de/~duchier/python/continuations.html > ... > [snip] First, I'm sure you know more about continuations than I do, because I haven't started to use them and only skimmed over discussions of them. I found (as usual, I might add) that when trying to learn computer programming concepts, there's nothing quite like Scheme.* Here's a discussion that quickly leads to programming examples: http://www.cs.utexas.edu/users/wilson/schintro/schintro_75.html#SEC82 And here's another: http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H- 15.html#node_sec_13.1 And a final one: http://www.scheme.com/tspl2d/further.html#g1835 I know that I, for one, would be appreciative if you came up with a relatively straightforward way to explain callcc in Ruby. Regards, Mark * This does not detract from my enthusiasm for Ruby -- studying Scheme helps me better understand Ruby, and computation in general.