scryer-prolog icon indicating copy to clipboard operation
scryer-prolog copied to clipboard

[user] or loading source file defect

Open flexoron opened this issue 1 year ago • 0 comments

?- [user].
:-X.
% Warning: singleton variables X at line 1 of user
^C   error('$interrupt_thrown',repl/0).
^C   error('$interrupt_thrown',repl/0).
?-

Hint: ^C because ^D doesn't work

$ cat x.pl 
:-X.
a.
end_of_file.

$ scryer-prolog x.pl
% Warning: singleton variables X at line 0 of x.pl
^C   error('$interrupt_thrown',repl/0)
^C   error('$interrupt_thrown',repl/0).
^C   error('$interrupt_thrown',repl/0).
?-

flexoron avatar Jan 11 '24 03:01 flexoron