Commits

Zachary Voase  committed 7e3714f

Removed some redundancy from the List spec.

  • Participants
  • Parent commits de83f3c

Comments (0)

Files changed (1)

File spec/list_spec.rb

 require File.join(File.dirname(__FILE__), 'spec_helper')
 
 module Tweed::Monads
-  class List
-    def ==(other)
-      if other.is_a? List
-        @sequence == other.instance_eval { @sequence }
-      else
-        @sequence == other
-      end
-    end
-    
-    def to_a
-      @sequence
-    end
-  end
-  
   describe List do
     it "should obey the left identity law" do
       x = 1