From: Ryan King Date: 2002-08-27T11:00:21+09:00 Subject: Re: CompareByValue On 2002.08.25, Dossy wrote: > On 2002.08.25, Ryan King wrote: > > I put a challenge up at: > > http://www.rubygarden.org/ruby?CompareByValue > > I don't think this is the /best/ solution, but it's one > that makes all ten tests pass: > [...] I added another test, which makes this implementation fail, too. The implementation could be hacked so that this passes. However, I wrote it as a simple case to represent an arbitrarily recursive structure. The recursion is what makes this problem a "Challenge" rather than a "Trivial Chunk of Code". =) - Ryan King