edinburgh.pl -- Some traditional Edinburgh predicates
This module defines predicates from `traditional Edinburgh Prolog' (Dec10 and C-Prolog) whose functionality has been replaced by (ISO) Standard Prolog.
- display(+Term) is det
- display(+Stream, +Term) is det
- Write a term, ignoring operators and special syntax constructs such
as brace terms (
{a}
) and lists ([a,b,c]
). Currently does print dicts using the dict notation. - unknown(-Old, +New) is det
- Edinburgh Prolog predicate for dealing dealing with undefined procedures
- reconsult(+FileOrList) is det
- Load source
file(s)
, wiping the old content first. SWI-Prolog's consult/1 and related predicates always do this. - debug is det
- nodebug is det
- Switch on/off debug mode. Note that nodebug/0 has been defined such that is is not traced itself.
- fileerrors(-Old, +New) is det
- Query and change the fileerrors flag. Default it is set to
true
, causing file operations to raise an exception. Setting it tofalse
activates the old Edinburgh mode of silent failure.
Re-exported predicates
The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
- display(+Term) is det
- display(+Stream, +Term) is det
- Write a term, ignoring operators and special syntax constructs such
as brace terms (
{a}
) and lists ([a,b,c]
). Currently does print dicts using the dict notation. - debug is det
- nodebug is det
- Switch on/off debug mode. Note that nodebug/0 has been defined such that is is not traced itself.