discontiguous/1

Description

discontiguous(Functor/Arity)
discontiguous(Functor1/Arity1, Functor2/Arity2, ...)
discontiguous([Functor1/Arity1, Functor2/Arity2, ...])

discontiguous(Functor//Arity)
discontiguous(Functor1//Arity1, Functor2//Arity2, ...)
discontiguous([Functor1//Arity1, Functor2//Arity2, ...])

Declares discontiguous predicates and discontiguous grammar rule non-terminals. The use of this directive should be avoided as not all Prolog compilers support discontiguous predicates.

Template and modes

discontiguous(+predicate_indicator_term)
discontiguous(+non_terminal_indicator_term)

Examples

:- discontiguous(counter/1).

:- discontiguous(lives/2, works/2).

:- discontiguous([db/4, key/2, file/3]).