adapt query to Scryer Prolog

This commit is contained in:
Markus Triska
2023-10-08 09:26:22 +02:00
parent 1ab14ea519
commit 51c00fce57

View File

@@ -3647,8 +3647,12 @@ reified_goal(l(L), _) --> [[L]].
parse_init_dcg([], _) --> [].
parse_init_dcg([V|Vs], P) --> [{init_propagator(V, P)}], parse_init_dcg(Vs, P).
%?- set_prolog_flag(answer_write_options, [portray(true)]),
% clpz:parse_reified_clauses(Cs), maplist(portray_clause, Cs).
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
?- use_module(library(lists)),
use_module(library(format)),
clpz:parse_reified_clauses(Cs),
maplist(portray_clause, Cs).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
reify(E, B) :- reify(E, B, _).