make use of read_term in the repl

This commit is contained in:
Mark Thom
2018-09-10 00:18:17 -06:00
parent 664f0f83dc
commit 3f06ff874b
15 changed files with 224 additions and 295 deletions

View File

@@ -226,7 +226,9 @@ false.
and so do conjunctive queries:
```
prolog> f(X) :- g(X).
prolog> g(x). g(y). g(z).
prolog> :{
g(x). g(y). g(z).
}:
prolog> h(call(f, X)).
prolog> ?- h(X), X.
true .