object

tutor

This object adds explanations and suggestions to selected compiler warning and error messages.

Availability:
logtalk_load(tutor(loader))
Author: Paulo Moura
Version: 0:80:0
Date: 2024-12-13
Compilation flags:
static, context_switching_calls
Remarks:
  • Usage: Simply load this object at startup using the goal logtalk_load(tutor(loader)).

Inherited public predicates:
(none)

Public predicates

explain//1

Generates an explanation for a message.

Compilation flags:
static
Template:
explain(Message)
Mode and number of proofs:
explain(@callable) - zero_or_one

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)