Documentation for read/2
Mirrored the wording in the docstrings for `read/1` and `read_term/3`.
This commit is contained in:
@@ -766,6 +766,10 @@ read(Term) :-
|
||||
read_term(Stream, Term, []).
|
||||
% read(Stream, Term).
|
||||
|
||||
%% read(+Stream, -Term).
|
||||
%
|
||||
% Read Term from the stream Stream with default options. **NOTE** This is not a general predicate
|
||||
% to read input from a file or the user. Use other predicates like `phrase_from_file/2` for that.
|
||||
read(Stream, Term) :-
|
||||
read_term(Stream, Term, []).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user