built-in method

repeat/0

Description

repeat

Always succeeds when called and when backtracking into its call with an infinite number of choice-points. See also the ISO Prolog standard definition. This built-in method is declared as a public method and can be used as a message to an object.

Modes and number of proofs

repeat - one_or_more

Errors

(none)

Examples

(none)

See also

!/0, true/0, fail/0, false/0