adapt query to Scryer Prolog
This commit is contained in:
@@ -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, _).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user