*** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2262 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
e26d72905e
commit
a3272bb0f9
@ -1,4 +1,4 @@
|
||||
/* $Id: maplist.pl,v 1.1 2008-02-12 17:03:53 vsc Exp $
|
||||
/* $Id: maplist.pl,v 1.2 2008-06-05 19:33:51 rzf Exp $
|
||||
|
||||
Part of SWI-Prolog
|
||||
|
||||
@ -101,12 +101,3 @@ maplist2([Elem1|Tail1], [Elem2|Tail2], [Elem3|Tail3], [Elem4|Tail4], Goal) :-
|
||||
call(Goal, Elem1, Elem2, Elem3, Elem4),
|
||||
maplist2(Tail1, Tail2, Tail3, Tail4, Goal).
|
||||
|
||||
% forall(+Condition, +Action)
|
||||
%
|
||||
% True if Action if true for all variable bindings for which Condition
|
||||
% if true.
|
||||
|
||||
:- noprofile(forall/2).
|
||||
|
||||
forall(Cond, Action) :-
|
||||
\+ (Cond, \+ Action).
|
||||
|
Reference in New Issue
Block a user