looking for a predicate hierarchy



I am looking for a library (of an OO language) which uses a hierarchy of classes for predicate (type) dispatch in the context of multimethod. Ce concept is already well know and developed in the literature, but languages which support multimethods and metaclasses are not so common. Therefore, I have some difficulty to find such 'standard' use of class as predicates. The papers usually use hierarchies inspired from specific taxonomy (e.g. animals) which are not general enough to be useful.

For the moment in my lib I have (<- means 'inherits from'):

Predicate (root class)
<- Nil
<- TrueFalse
<- True
<- False
<- Ordered
<- Lesser
<- Equal
<- Greater

But there is a lot of other possible predicates (not all useful):

Next, Previous
Forward, Backward
Open, Close
Front, Rear
Bottom, Top
Before, After
Up, Down
Even, Odd
Left, Right
North, South, Est, West

etc...

and selecting the predicates general enough (aliases and user defined predicates are always possible as extension) is somehow a problem of experience. BTW, the hierarchy stigmatize the possible logical combinations of the predicates (not, and, or) and strengthens the importance of its design (e.g. TrueFalse != Boolean).

Has somebody already seen such hierarchy? Links and references would be really appreciated. Thanks.

a+, ld.
.



Relevant Pages

  • Re: looking for a predicate hierarchy
    ... languages which support multimethods and metaclasses are not so common. ... But there is a lot of other possible predicates: ... the hierarchy stigmatize the possible logical ... The set of all possible binary relations defined on ...
    (comp.object)
  • Re: looking for a predicate hierarchy
    ... classes for predicate dispatch in the context of multimethod. ... But there is a lot of other possible predicates: ... the hierarchy stigmatize the possible logical ... Relations do form a lattice, so you work out tthis idea into ...
    (comp.object)
  • Re: Cantors circular "proof" that evens = integers
    ... independently of any choice of axioms. ... side CALLS "a language" is completely IRrelevant to ... I KNOW what an interpretation is! ... predicates and term for term-functors) and -arity. ...
    (sci.logic)
  • Re: Date and McGoveran comments on view updating problem
    ... Bob Badour wrote: ... Unfortunately I can't go much further than that because I am still a novice when it comes to predicates - one reason for that, I think, is that the RM is still in its infancy when it comes to expressing predicates. ... I realize that you, Bob, have lately said similar, at least regarding 'join deletion rules' and how to express them in a language. ...
    (comp.databases.theory)
  • Re: Skolems Paradox and why is math the way it is?
    ... > language is allegedly incapable of referring to them, ... but every model of set theory is wrong in that things ... a Godel numbering of predicates and a truth predicate in the language, ... definability is about predicates, that if you could talk about a ...
    (sci.math)