This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/examples/modules/test.lgt

15 lines
207 B
Plaintext
Raw Normal View History

:- module(test, [test/0, names/0]).
:- use_module(list, [contained/2]).
:- use_module(meta, [meta/1]).
names :-
contained(P, [paulo, carlos, helena]),
write(P), nl,
fail.
names.
test :-
meta(names).