Skip to content

Commit

Permalink
Avoid dependency on private pp/1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wielemaker authored and Jan Wielemaker committed Jan 17, 2014
1 parent 420a33d commit 8452904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion formula.pl
Expand Up @@ -15,6 +15,7 @@
:- use_module(library(lists)).
:- use_module(library(ordsets)).
:- use_module(library(thread)).
:- use_module(library(trace/pprint)).
:- use_module(ods_table).
:- use_module(datasource).

Expand Down Expand Up @@ -159,7 +160,7 @@
( ds_formula(H, FL0, FL1)
-> true
; gtrace,
pp(H),
print_term(H, []),
ds_formula(H, FL0, FL1)
),
ds_formulas(T, FL1, FL).
Expand Down
3 changes: 2 additions & 1 deletion table.pl
Expand Up @@ -22,6 +22,7 @@
:- use_module(library(error)).
:- use_module(library(clpfd), except([transpose/2])).
:- use_module(library(ugraphs)).
:- use_module(library(trace/pprint)).

:- meta_predicate
tables(:, ?, -),
Expand Down Expand Up @@ -117,7 +118,7 @@
Intersections),
( Intersections == []
-> Blocks = Blocks0
; pp(Intersections)
; print_term(Intersections, [])
).

%% block_intersection(+Blocks:list, -Intersection) is nondet.
Expand Down

0 comments on commit 8452904

Please sign in to comment.