add tests for module resolution operator, README documentation.

This commit is contained in:
Mark Thom
2018-07-08 19:49:15 -06:00
parent cd03b7795f
commit 89044266d6
3 changed files with 34 additions and 5 deletions

View File

@@ -280,11 +280,9 @@ prolog> :- use_module(library(lists), [member/2]).
A qualified `use_module` can be used to remove imports from the
toplevel by calling it with an empty import list.
The `(:)/2` operator is used to resolve calls to predicates
not within the current working namespace:
The `(:)/2` operator resolves calls to predicates that might not be
imported to the current working namespace:
```
prolog> ?- lists:member(X, Xs).
```
This is a debugging kludge. Mostly.