Merge pull request #2268 from aarroyoc/docs-toplevel

Small fixes in documentation and toplevel.pl
This commit is contained in:
Mark Thom
2024-01-03 14:52:34 -07:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ directory_must_exist(Directory, Context) :-
; throw(error(existence_error(directory, Directory), Context))
).
%% workind_directory(Dir0, Dir).
%% working_directory(Dir0, Dir).
%
% Dir0 is the current working directory, and the working directory
% is changed to Dir.

View File

@@ -129,6 +129,7 @@ raw_argv(Argv) :-
% arguments and the program arguments, we use `--` as a separator.
%
% Example:
%
% ```
% % Call with scryer-prolog -f -- -t hello
% ?- argv(X).

View File

@@ -1,4 +1,4 @@
:- module('$toplevel', [copy_term/3, started/0]).
:- module('$toplevel', [copy_term/3]).
:- use_module(library(atts), [call_residue_vars/2]).
:- use_module(library(charsio)).