Posts tagged with "threads"
Gems in Scheme (Part 3)
October 19th, 2009
In my last post I described the use of call-with-current-continuation to implement coroutines, thus inverting for-each-style iterations into cursor-style iterations. I noted that this looks very similar to using threads.
This is part 3 of our Gems in Scheme series.
Gems in Scheme (part 2)
August 17th, 2009
In my last post I described some of the use of call-with-current continuation for non-local or other sorts of dynamic exits. These uses of call/cc are similar to exceptions in many other languages, or a catch/throw mechanism.
This is part 2 in our Gems in Scheme series.