5 CG primitives
Prolog+CG offers some primitives which make it easier to write useful CG-programs. A primitive is a piece of program code which has been written, and so can be "called" or used easily.
We look at two kinds of primitives:
The goals which we discuss in this chapter are all provided by Prolog+CG. You do not have to do anything special for them to be available.
PrevLite: 4.6 Quiz: CG Syntax
NextLite: 5.1 CG goals
Prev: 4.6 Quiz: CG Syntax
Up: Part II: CGs
Next: 5.1 CG goals