From: Mark Slagell Date: 2000-09-17T02:17:25+09:00 Subject: [ruby-talk:4942] Re: Perl 6 rumblings -- RFC 225 (v1) Data: Superpositions Writing an 8-queens program this morning (teaching my 12-year old son about recursion!), I found that "any" led to an easy translation of "can I put a queen in any of these columns and get a solution" into concise code which did exactly what I wanted. (see http://www.cs.iastate.edu/~slagell/ruby/queens.rb) At first glance, I like the idea of any/all -- they seem to have broad applicability. Alternative name suggestions: "any_satisfies" and "all_satisfy" are more descriptive but a bit long - maybe just adding question marks would be good: "any?" and "all?". -- Mark Yukihiro Matsumoto wrote: > Hi, > > In message "[ruby-talk:4932] Re: Perl 6 rumblings -- RFC 225 (v1) Data: Superpositions" > on 00/09/16, "Conrad Schneiker" writes: > > |Very nice. Are we going to see this in 1.8? :-) > > Possible. Let's discuss, especially to determin if any/all are proper > names for the behaviors. > > matz.