From: Michel Demazure Date: 2007-11-01T00:00:27+09:00 Subject: Re: Code to DRY Robert Klemme wrote: > 2007/10/31, Michel Demazure : > Ah, I see. I wasn't aware of this. In that case it's probably also > not a good idea to use <, > etc. to avoid confusion. Do you use some > kind of topological sort then? No, I only use it to find, if any, a "piece of knowledge" b with a.le?(b). Toy examples : "birthday" <= "birthday John in March" <= "birthday John 15th March"... So, for Persons : MIN <= John <= John Doe <= John Doe phone=12345 <=... for Dates "MIN <= March" <= "15th March" <= 15th March 9pm ... > I still do not know how you use min and max but it certainly sounds > interesting! :-) See above for MIN. MAX happens for instance when you freeze a knowledge and then modify it. Or when you know too much : "birthday 15th March and 2d April"... All the best, Michel -- Posted via http://www.ruby-forum.com/.