.. index:: single: heuristic_expansion(Mode) .. _heuristic_expansion/1: .. rst-class:: right **object** ``heuristic_expansion(Mode)`` ============================= Expands rules of the form p if f and g to rule(p, [f,g|Tail], Length, Tail). | **Availability:** | ``logtalk_load(verdi_neruda(loader))`` | **Author:** Victor Lagerkvist | **Version:** 1:0:2 | **Date:** 2022-10-08 | **Compilation flags:** | ``static, context_switching_calls`` | **Implements:** | ``public`` :ref:`expanding ` | **Extends:** | ``public`` :ref:`rule_expansion(Mode) ` | **Uses:** | :ref:`list ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`expanding/0::goal_expansion/2`  :ref:`expanding/0::term_expansion/2`   .. contents:: :local: :backlinks: top 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)