From: Shin-ichro Hara Date: 1998-07-08T20:28:15+09:00 Subject: [ruby-list:8651] Re: Equivalence.rb 原です。 In message "[ruby-list:8650] Re: Equivalence.rb" on 98/07/08, Shin-ichro Hara writes: |ここんところは | | while i = __dup__.shift | foo = __dup__.find_all{|j| cmp.call(i,j)} | __res__.push foo | __dup__ -= foo | end | |と書くのが自然では?(^^ あ、いけない while i = __dup__[0] foo = __dup__.find_all{|j| cmp.call(i,j)} __res__.push foo __dup__ -= foo end の間違いです。