Small fixes in documentation and toplevel.pl

This commit is contained in:
Adrián Arroyo Calle
2024-01-03 19:52:50 +01:00
parent 47b5ae7984
commit d58e91303b
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)) ; 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 % Dir0 is the current working directory, and the working directory
% is changed to Dir. % is changed to Dir.

View File

@@ -129,6 +129,7 @@ raw_argv(Argv) :-
% arguments and the program arguments, we use `--` as a separator. % arguments and the program arguments, we use `--` as a separator.
% %
% Example: % Example:
%
% ``` % ```
% % Call with scryer-prolog -f -- -t hello % % Call with scryer-prolog -f -- -t hello
% ?- argv(X). % ?- 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(atts), [call_residue_vars/2]).
:- use_module(library(charsio)). :- use_module(library(charsio)).