collectiveidea / unicode_math

Fun Ruby extensions for doing math with Unicode
MIT License
47 stars 8 forks source link

Add set operators: ∩ (intersection) / ∪ (union) #10

Closed knsmr closed 11 years ago

knsmr commented 11 years ago

Should we also extend Set?

I am not sure why we don't simply do something like this:

class Array
  alias_method :∩ :&
  alias_method :∪ :|
end