Re: comparison predicates



On Fri, 13 Jan 2006 04:45:00 +0000, Martin Sondergaard wrote:

> % I have named the operator "compare".
>
> :- op(500, xfy, compare).

Why is the precedence 500 and not 700 like the build-in < operator ?

--
"Don't worry about people stealing your ideas. If your ideas are any
good, you'll have to ram them down people's throats."
-- Howard Aiken

.



Relevant Pages

  • Re: So, I got my OW Cert
    ... was nothing but a scuba newbie. ... You worry about how much you can lift, I worry about how much power I ... person with the most bioactive tissue will consume the most ... What better way to do that than to compare the same ...
    (rec.scuba)
  • Re: Erics floating point test
    ... > None of the changes I made change the number of multiplication operations. ... If you compare C#'s best, then compare it to D7's best, which is the asm ... There are enough REAL bottlenecks without having to worry about artificial ... With D8 performance levels, ...
    (borland.public.delphi.non-technical)
  • Re: [SLE] xntpd sync very slow on some system
    ... > the RPMs? ... You could compare the configuration files... ... Delete it (don't worry, it will be ...
    (SuSE)
  • Re: comparison predicates
    ... > Is it possible in SWI-Prolog to define your own comparison predicates? ... To define an operator, use "op/3". ... % I have named the operator "compare". ... :- op(500, xfy, compare). ...
    (comp.lang.prolog)