move forall/2 to non_iso, correct test cases.

This commit is contained in:
Mark Thom
2019-04-03 18:13:05 -06:00
parent 535a6c17e9
commit 546aeea479

10
src/prolog/lib/non_iso.pl Normal file
View File

@@ -0,0 +1,10 @@
%% for builtins that are not part of the ISO standard.
%% must be loaded at the REPL with
%% ?- use_module(library(non_iso)).
:- module(non_iso, [forall/2]).
forall(Generate, Test) :-
\+ (Generate, \+ Test).