]> Repositorios git - scryer-prolog.git/commitdiff
FIXED: meta_predicate/1 declaration of cond_t/3.
authorMarkus Triska <[email protected]>
Sat, 20 Nov 2021 21:43:33 +0000 (22:43 +0100)
committerMarkus Triska <[email protected]>
Sat, 20 Nov 2021 21:43:33 +0000 (22:43 +0100)
src/lib/reif.pl

index f3bc72b3a6d8c702eb36927e25a8907df0bb0796..169ecb2d398e3f2d91f3a97352b9d454e54fd3d7 100644 (file)
@@ -60,7 +60,7 @@ i_tpartition([X|Xs], P_2, Ts0, Fs0) :-
 ';'(A_1, B_1, T) :-
     if_(A_1, T = true, call(B_1, T)).
 
-:- meta_predicate cond_t(0, 0, ?).
+:- meta_predicate(cond_t(1, 0, ?)).
 
 cond_t(If_1, Then_0, T) :-
    if_(If_1, ( Then_0, T = true ), T = false ).