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:84:0
Date: 2025-10-20
Compilation flags:
`static, context_switching_calls`
Provides:
logtalk::message_hook/4
Uses:
list
logtalk
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)