object

# `suppress_goal_hook`

Use this object to easily suppress a goal in a clause body.

Availability:
`logtalk_load(hook_objects(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2020-05-04
Compilation flags:
`static, context_switching_calls`
Implements:
`public` expanding
Remarks:

> - Usage: Mark a goal to be suppressed by prefixing it with the `--` operator.

> - Operators: This hook object uses the `--` prefix operator declared by Logtalk for use in `mode/2` directives.

Inherited public predicates:
goal_expansion/2 term_expansion/2

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

backend_adapter_hook, default_workflow_hook, grammar_rules_hook, identity_hook, prolog_module_hook(Module), object_wrapper_hook, write_to_stream_hook(Stream,Options), write_to_stream_hook(Stream), print_goal_hook