On Friday, September 16, 2011 05:33:57 Kagamin wrote:
> Jonathan M Davis Wrote:
> > I think that that's up for debate. I would fully expect a min/max
> > function to be using a comparator function, which means using a binary
> > predicate.
> 1. how would they treat the function?
> 2. do you have a use case for a binary predicate?

Comparator functions are pretty much always binary predicates. With a min or 
max function, you're using a comparator function. It would be incredibly 
bizarre for it to do otherwise, and taking simply the property to compare 
would be extremely limiting. For instance, what if you you wanted to compare 
using two properties? That's completely straightforward with a binary 
predicate and utterly impossible when you pass the property to be compared 
instead of a proper predicate.

- Jonathan M Davis

Reply via email to