From: mental@... Date: 2005-12-17T10:03:32+09:00 Subject: Re: multiple blocks (unfold) Quoting Devin Mullins : > Usage: > > a = Unfolder.stop? { |s| s > 10 }.f { |s| s * 2 }.g { |s| s + 1 > }.unfold(0) > Hey, that's not too bad. Use the named parameter idiom from Java. It's a little weird from a Ruby perspective, but except for being (essentially) curried it's rather like the way you'd do it in Smalltalk. -mental