hook_set(Set) — Logtalk 3.100.1

object

# `hook_set(Set)`

- `Set` - Set (list) of hook objects.

Use a set (represented using a list) of hook objects to expand terms and goals. The hook objects are tried in sequence until one of them succeeds in expanding the current term (goal) into a different term (goal).

Availability:
`logtalk_load(hook_flows(loader))`
Author: Paulo Moura
Version: 2:0:0
Date: 2024-09-27
Compilation flags:
`static, context_switching_calls`
Implements:
`public` expanding
Remarks:

> - Usage: Compile source files that should be expanded using the set of hook objects using the compiler option `hook(hook_set(Set))`.

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

hook_pipeline(Pipeline)