From: Jim Weirich Date: 2006-03-16T23:42:15+09:00 Subject: Re: Constraint Processing (#70) James Gray wrote: > Oh sure, you would do that after I summarized the trickier version. ;) ;) > I tried to eliminate the outer continuation when I was summarizing, > convinced it wasn't needed. My attempt wasn't successful though. : > ( It's good to know I wasn't completely wrong. Yes, the new version is SO much easier on the eyes. Eliminating the extra continuation not only makes it easier to read, but a bit faster as well. The other simplification is that the original version supported delayed choices, i.e. passing in a lambda as a choice where that lambda wouldn't get evaluated until the choice was needed. Although a cool idea, I don't think I ever used it in any of the puzzles. So, it was extra baggage that wasn't really needed. -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.