This module defines several predicates from the Quintus Prolog libraries. Note that our library structure is totally different. If this library were complete, Prolog code could be ported by removing the use_module/1 declarations, relying on the SWI-Prolog autoloader.
Bluffers guide to porting:
use_module(library(...))
?- list_undefined.
Of course, this library is incomplete ...
shell(Command)
shell(Command)
access_file(File, read)
working_directory(_, Dir)
current_prolog_flag(os_argv, List)
.args(List)
, but arguments that are syntactically
valid numbers are passed as a number.version
.
date(Y,M,D)
style_check(-Style)
. The Quintus option
single_var
is mapped to singleton
.
:- mode(Head)
declaration. Typically
these declarations are written in operator form. The operator
declaration is not part of the Quintus emulation library. The
following declaration is compatible with Quintus:
:- op(1150, fx, [(mode)]).
skip(0'\n)
.The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
skip(0'\n)
.