ref: 90664173e5c72d0b31bdfd2c467134b3cfb3623a
parent: e6ce8b1d6da2434232b86c7c115d7ed4961e7f5c
author: Peter Mikkelsen <[email protected]>
date: Tue Jul 20 14:11:18 EDT 2021
Add a space between printout and ; or .
--- a/repl.pl
+++ b/repl.pl
@@ -56,7 +56,7 @@
).
eval_and_print(Goal, _, _) :-
\+ found_a_solution,
- write('false.'),
+ write('false .'),
nl.
rewrite_equations(Eqs0, Eqs) :-
@@ -82,8 +82,8 @@
write_state(end) :- write('.'), nl.
write_state(more).
-write_result([], State) :- write('true'), write_state(State).
-write_result([B|Bs], State) :- write_bindings([B|Bs]), write_state(State).
+write_result([], State) :- write('true'), write(' '), write_state(State).
+write_result([B|Bs], State) :- write_bindings([B|Bs]), write(' '), write_state(State).
write_bindings([]).
write_bindings([Var = Val|Bs]) :-