From: David B. Held (dheld_at_[hidden])
Date: 2003-03-28 01:14:43


"Gennaro Prota" <gennaro_prota_at_[hidden]> wrote in message
news:trl68v055l812ca82f1u0u2skgev7ttt34_at_4ax.com...
> [...]
> But there are more important points I think; first of all this: if all
> I can see "from the outside" is whether v_== minus [note: this is
> 'plus' in the original code] why keeping three states internally?

I wondered this as well, until I thought about this invokation:

compare(x1, x2)(y1, y2)(z1, z2);

Keeping the state internally allows for this function chaining, as
the three states are passed from one functor to the next (which
is necessary to provide the desired functionality).

Dave