Node:Obj Getting Started, Next:, Previous:Obj Intro, Up:Obj Intro



Getting Started

To load the SICStus Objects library, enter the query:

     | ?- use_module(library(objects)).
     

SICStus Objects defines some new infix and prefix operators, and redefines some of the built-in ones. The following operators become installed:

     :- op(1200, xfy, [ & ]).
     :- op(1198, xfx, [ :- ]).
     :- op(1198,  fx, [ :- ]).
     :- op(550,  xfx, [ ::, <: ]).
     :- op(550,   fx, [ ::, <: ]).