Pretty-printing assertions

Author(s): Francisco Bueno.

This module defines some predicates which are useful for writing assertions in a readable form.

Usage and interface

Documentation on exports

Usage:write_assertion(Goal,Status,Type,Body,Dict,Flag)

Writes the (normalized) assertion to current output.

Usage:write_assertion(Stream,Goal,Status,Type,Body,Dict,Flag)

Writes the (normalized) assertion to stream Stream.

Usage:write_assertion_as_comment(Goal,Status,Type,Body,Dict,Flag)

Writes the (normalized) assertion to current output as a Prolog comment.

Usage:write_assertion_as_comment(Stream,Goal,Status,Type,Body,Dict,Flag)

Writes the (normalized) assertion to stream Stream as a Prolog comment.

Usage:write_assertion_as_double_comment(Goal,Status,Type,Body,Dict,Flag)

Writes the (normalized) assertion to current output as a Prolog double comment.

Usage:write_assertion_as_double_comment(Stream,Goal,Status,Type,Body,Dict,Flag)

Writes the (normalized) assertion to stream Stream as a Prolog double comment.

Documentation on imports

This module has the following direct dependencies: