diff --git a/src/lib/builtins.pl b/src/lib/builtins.pl index b6263218..e2513cc4 100644 --- a/src/lib/builtins.pl +++ b/src/lib/builtins.pl @@ -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, []).