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/regression/modules/meta.yap
Vítor Santos Costa bc53e8bae9 some tests
2016-01-03 13:54:14 +00:00

19 lines
286 B
Prolog

% :- library(test).
%:- multifile ytest:test/4.
:- source.
:- [library(ytest)].
:- [library(ytest/preds)].
meta_expand(InputCl, C1) :-
source_module(SM),
'$yap_strip_module'(SM:InputCl, M, ICl),
'$expand_a_clause'( M:ICl, SM, C1, _CO).
:- [meta_tests].
:- run_tests.