Module swipl::result

source ·
Expand description

Prolog results.

Functions in swipl-rs that interact with SWI-Prolog generally return a PrologResult. This allows you to use them with the ? syntax in situations where you need to call multiple such functions, and each failure or exception is a reason to exit early.

This module also provides some transformations on prolog results.

Structs

Enums

Functions

Type Aliases