From: Robert Dober Date: 2009-04-20T02:46:17+09:00 Subject: Re: [ANN] Junctions for Ruby1.9 (Lab419::functional-0.1.2) On Sun, Apr 19, 2009 at 4:27 PM, James Gray wrote: > I imagine I would just do: > >  if a_set.max > b_set.max >    # ... >  end If #<=> is defined I would do the same, but that is not necessarily the case. ">" might implement something where ! ( !(a>b) -> b>a) as e.g. superset, subset relationships. If you are against such redefinitions, please read the example as follows: if a_set.any.superset?( b_set.all ) then I wanted to make it clear that Junctions can be combined and thus become a more powerful abstraction over relations. Cheers Robert -- Si tu veux construire un bateau ... Ne rassemble pas des hommes pour aller chercher du bois, préparer des outils, répartir les tâches, alléger le travail… mais enseigne aux gens la nostalgie de l’infini de la mer. If you want to build a ship, don’t herd people together to collect wood and don’t assign them tasks and work, but rather teach them to long for the endless immensity of the sea. -- Antoine de Saint-Exupéry