IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: Call/CC
One real world example ... turning internal interators into external iterators. See [link|http://jimweirich.umlcoop.net/articles/same_fringe/index.html|http://jimweirich.um...fringe/index.html] for details.

Another real world example ... programming web page navigation (supporting the use of the back button) in a linear manner. See Avi Bryant's work with Seaside (Smalltalk version -- [link|http://beta4.com/seaside2/|http://beta4.com/seaside2/]) and related work with Borges (Ruby version -- [link|http://segment7.net/ruby-code/borges/borges.html|http://segment7.net/...orges/borges.html]).

I've also written some stuff on Continuation Passing Style, tail recursion and call/cc at [link|http://onestepback.org/index.cgi/Tech/Programming/Kata|http://onestepback.o.../Programming/Kata], although this is probably much the same stuff that you are getting from your Scheme book.
--
-- Jim Weirich jweirich@one.net [link|http://onestepback.org|http://onestepback.org]
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
New Duplication
Hmmm ... I took a peek at the web page for "Teach yourself scheme". Cool. I see that they also solve the same-fringe problem. Oh well. The Seaside stuff is still interesting.

BTW, the (amb) function in the next chapter looks interesting. I remember someone doing a similar thing in FORTH, except it wasn't "angelic" (if I'm using the term properly).
--
-- Jim Weirich jweirich@one.net [link|http://onestepback.org|http://onestepback.org]
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
New Self-modifying code? That is non-angelic - and good :)
-drl
     Call/CC - (johnu) - (7)
         Completely and utterly OT - (pwhysall) - (1)
             Lots of Idiotic Stupid Parentheses - (admin)
         Usual suspects - (ChrisR)
         Re: Call/CC - (JimWeirich) - (2)
             Duplication - (JimWeirich) - (1)
                 Self-modifying code? That is non-angelic - and good :) -NT - (deSitter)
         Thanks - (johnu)

Hopefully it was a very temporary victory of the ignorant.
65 ms