From: Jim Weirich Date: 2004-01-31T11:14:48+09:00 Subject: Re: fallbacks using contiuations > "Jim Weirich" wrote in message > news:<33737.216.23.36.251.1075442652.squirrel@jimweirich.umlcoop.net>... > >> A while back I wrote a Ruby version of the (amb) function fopund in >> "Learning Scheme in Fixnum Days" (see http://tinyurl.com/pys4). It, >> too,uses continuations to fallback to earlier choices. Avi Bryant said: > I posted an implementation of Amb back in November, but I don't think > many people saw it because the news->ML gateway was down at the time. It seems that the amb function has been very popular lately. I just stumbled on this implementation (http://bonk.nu/blog/archives/000106.html) yesterday while looking for something else. It looks like Urban did his version last June. It is interesting in that he made choose a method on array. -- -- Jim Weirich jim@weirichhouse.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)