magic_expansion(A) — Logtalk APIs v3.47.0 documentation

object

# `magic_expansion(A)`

Expands rules of the form p if f and g to the more manageable rule(p, [f,g]) and performs magic transformation of clauses.

Author: Victor Lagerkvist
Version: 1:0:1
Date: 2020-11-11
Compilation flags:
`static, context_switching_calls`
Implements:
`public` expanding
Imports:
`public` flatting
Extends:
`public` debug_expansion(A)
Uses:
list
magic
Remarks:
(none)
Inherited public predicates:
goal_expansion/2 term_expansion/2

- Public predicates

- Protected predicates

- Private predicates

- Operators

## 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)