« Return to Thread: defining operators

Re: defining operators

by Brianna Laugher-2 :: Rate this Message:

Reply to Author | View in Thread

On Wed, 2008-04-30 at 11:39 +0200, Pierpaolo Bernardi wrote:
> > The problem is with the operator '?='.
> >
> > In ops.pro, I have just one line:
> >
> > op(700,xfx,?=).
>
> In source files you should write:   :- op(...).
>
> Otherwise you are trying to modify the built-in op procedure.

Thanks, Pierpaolo (and others who supplied this answer offlist).

Brianna

------------
For further info, please visit http://www.swi-prolog.org/

To unsubscribe, send a plaintext mail with "unsubscribe prolog <e-mail>"
in its body to majordomo@...

 « Return to Thread: defining operators